getFirstStrandedFromGRL | R Documentation |
Get first stranded GRanges feature per GRangesList
getFirstStrandedFromGRL(
grl,
method = c("direct", "endoapply", "flank"),
verbose = FALSE,
...
)
grl |
GRangesList |
method |
character value in |
verbose |
logical indicating whether to print verbose output. |
... |
additional arguments are ignored. |
This function returns the first feature per GRangesList, relative to the strand of the GRangesList. It assumes each GRangesList element has only one strand and one seqname, and will stop otherwise.
GRangesList containing only the first stranded
GRanges feature per input GRangesList element. When
method="flank"
the output contains no metadata values,
but this method is deprecated.
Other jam ALE-specific RNA-seq functions:
ale2violin()
,
tx2ale()
Other jam GRanges functions:
addGRLgaps()
,
addGRgaps()
,
annotateGRLfromGRL()
,
annotateGRfromGR()
,
assignGRLexonNames()
,
closestExonToJunctions()
,
combineGRcoverage()
,
exoncov2polygon()
,
findOverlapsGRL()
,
flattenExonsBy()
,
getGRLgaps()
,
getGRcoverageFromBw()
,
getGRgaps()
,
grl2df()
,
jam_isDisjoint()
,
make_ref2compressed()
,
sortGRL()
,
spliceGR2junctionDF()
,
stackJunctions()
gr12 <- GenomicRanges::GRanges(seqnames=rep("chr1", 9),
ranges=IRanges::IRanges(
start=c(100, 200, 400, 500, 300, 100, 200, 400, 600),
width=c(50,50,50, 50,50,50, 50,50,50)
),
strand=rep(c("+", "-", "+"), c(3,3,3)),
gene_name=rep(c("GeneA", "GeneB", "GeneC"), each=3)
)
grl <- GenomicRanges::split(gr12, GenomicRanges::values(gr12)$gene_name)
getFirstStrandedFromGRL(grl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.