ranges2names {CAGEr} | R Documentation |
Intersection of genomic ranges
ranges2names(rangesA, rangesB)
rangesA |
A |
rangesB |
A second GRanges object. |
This private (non-exported) function intersects two genomic ranges and for each element of the first object returns the name of the elements of the second object that it intersects with.
A Rle
character vector of same length as the rangesA
GRanges object, indicating one name or a semicolon-separated list of names from
the each rangesB
object.
Charles Plessy
Other CAGEr annotation functions:
annotateCTSS()
,
plotAnnot()
,
ranges2annot()
,
ranges2genes()
names(exampleZv9_annot) <- exampleZv9_annot$gene_name CAGEr:::ranges2names(CTSScoordinatesGR(exampleCAGEexp), exampleZv9_annot)