Description Usage Arguments Value See Also Examples
Utility function that attemps to split genomic ranges by strand with split(object, strand(object))
1 | utilsDeStrand(object)
|
object |
Any object with a split and strand method, e.g. GRanges/GPos |
Object split by strand, e.g. GRangesList.
Other Utility functions:
utilsAggregateRows()
,
utilsScoreOverlaps()
,
utilsSimplifyTxDb()
1 2 3 4 5 6 | gp <- GPos(seqnames=Rle(c("chr1", "chr2", "chr1"), c(10, 6, 4)),
pos=c(44:53, 5:10, 2:5),
strand=c(rep("+", 10), rep("-", 10)))
gr <- as(gp, "GRanges")
utilsDeStrand(gp)
utilsDeStrand(gr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.