popinteger | R Documentation |
This function shows the population integer slot from a
DNAStringSet
or an AAStringSet
metadata
information.
popinteger(seq)
seq |
|
population integer from metadata
Kristian K Ullrich
addpop2string
## load example sequence data
data(iupac, package="MSA2dist")
iupac.aa <- iupac |> cds2aa(shorten = TRUE)
## create poplist
poplist <- list(FRA = grep("Mmd.FRA", names(iupac)),
GER = grep("Mmd.GER", names(iupac)),
IRA = grep("Mmd.IRA", names(iupac)),
AFG = grep("Mmm.AFG", names(iupac)))
iupac.aa <- iupac.aa |> addpop2string(poplist)
popinteger(iupac.aa)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.