Description Usage Arguments Value Author(s) See Also Examples
Construct a GRanges object from several possible feature-level
classes. The conversion is useful for subsequent ranged-data queries,
such as findOverlaps
, countOverlaps
, etc.
1 | makeFeatureGRanges(object, ...)
|
object |
A |
... |
See the |
A GRanges
object.
R. Scharpf
findOverlaps
, GRanges
, GenomeAnnotatedDataFrame
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | if(require("VanillaICE")){
library(oligoClasses)
library(GenomicRanges)
library(Biobase)
library(foreach)
registerDoSEQ()
data(oligoSetExample, package="oligoClasses")
oligoSet <- oligoSet[chromosome(oligoSet) == 1, ]
grl <- hmm(oligoSet,TAUP=1e10)
class(grl)## GRangesList
gr <- grl[[1]]
(frange <- makeFeatureGRanges(oligoSet))
## which features overlap with the second range in sample NA06993
subsetByOverlaps(frange, gr[2,])
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.