A function to intersect user region data with annotation data Taken from annotatr package Annotate genomic regions to selected genomic annotations while preserving the data associated with the genomic regions.
1 2 3 4 5 6 7 | annotate_regions(
regions,
annotations = hg38_annotations,
minoverlap = 1L,
ignore.strand = TRUE,
quiet = FALSE
)
|
regions |
The GRanges object to annotate |
annotations |
The annotations to overlap with |
minoverlap |
A scalar, positive integer, indicating the minimum required overlap of regions with annotations. |
ignore.strand |
Logical indicating whether strandedness should be respected in findOverlaps(). Default FALSE. |
quiet |
Print progress messages (FALSE) or not (TRUE). ' @export |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.