aa() build a AA vector from a character vector.

aa(...)

Arguments

...

character to turn into AA. Can be a set of name-value pairs.

Value

vector of class bioseq_aa

See also

Other classes: dna(), rna()

Examples


aa("AGGTGC", "TTCGA")
#> AA vector of 2 sequences
#> >   AGGTGC
#> >   TTCGA

aa(Seq_1 = "AGGTGC", Seq_2 = "TTCGA")
#> AA vector of 2 sequences
#> Seq_1  AGGTGC
#> Seq_2  TTCGA

x <- c("AGGTGC", "TTCGA")
aa(x)
#> AA vector of 2 sequences
#> >   AGGTGC
#> >   TTCGA