Description Usage Arguments Value Author(s) Examples
The function takes objects derived from refGenome
or refJunctions
and returns a subset in which gene_name
matches the given values.
The returned object is of the same class as the given object.
1 | extractByGeneId(object,geneids,...)
|
object |
refGenome (or derived). Object from which subset is extracted. |
geneids |
Character. Vector with gene ID's. |
... |
(unused) |
Same class as object
Wolfgang Kaisers
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # + + + + + + + + + + + + + + + + + + #
# A) Extract from Genome
# + + + + + + + + + + + + + + + + + + #
ensfile<-system.file("extdata",
"hs.ensembl.62.small.RData", package="refGenome")
ens<-loadGenome(ensfile)
ddx<-extractByGeneId(ens,"ENSG00000223972")
ddx
# + + + + + + + + + + + + + + + + + + #
# B) Extract from splice junctions
# + + + + + + + + + + + + + + + + + + #
junc<-getSpliceTable(ens)
ddx<-extractByGeneId(junc,"ENSG00000223972")
ddx
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.