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