dna()
build a DNA vector from a character vector.
dna(...)
characters to turn into DNA. Can be a set of name-value pairs.
a vector of class bioseq_dna
dna("AGGTGC", "TTCGA")
#> DNA vector of 2 sequences
#> > AGGTGC
#> > TTCGA
dna(Seq_1 = "AGGTGC", Seq_2 = "TTCGA")
#> DNA vector of 2 sequences
#> Seq_1 AGGTGC
#> Seq_2 TTCGA
x <- c("AGGTGC", "TTCGA")
dna(x)
#> DNA vector of 2 sequences
#> > AGGTGC
#> > TTCGA