Description Usage Arguments Value Author(s) Examples
Locates gene in genome via refGenome
and reads a bamRange
from the determined region.
1 | rangeByGeneName(reader,genome,gene,complex=TRUE)
|
reader |
Object of class (rbamtools) |
genome |
Object of class (refgenome) |
gene |
Single gene name (character) |
complex |
Logical. Passed to 'bamRange' function. When TRUE, only aligns with nCigar>1 are counted. |
bamRange
Wolfgang Kaisers
1 2 3 4 5 6 | bam<-system.file("extdata","rna_fem.bam",package="spliceSites")
reader<-bamReader(bam,idx=TRUE)
ucf<-system.file("extdata","uc_small.RData",package="spliceSites")
uc<-loadGenome(ucf)
range<-rangeByGeneName(reader,uc,"WASH7P")
size(range)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.