coerceInBSgenome {CAGEr} | R Documentation |
A private (non-exported) function to discard any range that is not compatible with the CAGEr object's BSgenome.
coerceInBSgenome(gr, genome)
gr |
The genomic ranges to coerce. |
genome |
The name of a BSgenome package, which must me installed,
or |
A GRanges object in which every range is guaranteed to be compatible with the given BSgenome object. The sequnames of the GRanges are also set accordingly to the BSgenome.