region | R Documentation |
This function shows the region slot from a
DNAStringSet
or an AAStringSet
metadata
information.
region(seq)
seq |
|
region IRanges
object from metadata
Kristian K Ullrich
addpop2string
## load example sequence data
data(iupac, package="MSA2dist")
iupac.aa <- iupac |> cds2aa(shorten = TRUE)
## create region
region1 <- IRanges::IRanges(start=c(1,41), end=c(20,50))
## add region
iupac.aa <- iupac.aa |> addregion2string(region=region1)
iupac.aa |> region()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.