Description Usage Arguments Value Note Author(s) Examples
Split an MSA by feature
1 2 3 |
x |
An object of type |
f |
An object of type |
drop |
Not currently used |
pointer.only |
If |
... |
Not currently used |
A list of msa objects, representing the sub-alignments for each element in f
Neither x nor f will be altered by this function if they are stored as pointers.
Melissa J. Hubisz and Adam Siepel
1 2 3 4 5 6 7 8 9 | require("rphast")
exampleArchive <- system.file("extdata", "examples.zip", package="rphast")
files <- c("ENr334-100k.maf", "gencode.ENr334-100k.gff")
unzip(exampleArchive, files)
m <- read.msa("ENr334-100k.maf")
feats <- read.feat("gencode.ENr334-100k.gff")
feats$seqname <- "hg18"
cdsAlign <- split.by.feature.msa(m, feats[feats$feature=="CDS",])
unlink(files)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.