regionused | R Documentation |
This function shows the region used slot from a
DNAStringSet
or an AAStringSet
metadata
information.
regionused(seq)
seq |
|
population names from metadata
Kristian K Ullrich
addpop2string
## load example sequence data
data("hiv", package="MSA2dist")
## create mask
mask1 <- IRanges::IRanges(start=c(11,41,71), end=c(20,50,80))
## use mask
hiv.region <- hiv |> cds2aa() |> string2region(mask=mask1)
#(hiv.region |> slot("metadata"))$regionUsed
hiv.region |> regionused()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.