View source: R/annotateRegions.R
annotateRegions | R Documentation |
Annotates a GRanges on the basis of an annotation object (e.g.
EnsDb
).
annotateRegions(
regions,
anno,
proximal = c(2500, 1000),
filter = AnnotationFilterList(),
extra = list(),
ignore.strand = TRUE,
...
)
regions |
A GRanges object |
anno |
An annotation object, such as an |
proximal |
The threshold(s) for TSS proximal regions. Multiple values will result in multiple class factor levels. |
filter |
An |
extra |
An optional named list of GRanges for additional overlaps. Each list element will create an additional binary metadata column. |
ignore.strand |
Whether to ignore the strand for the overlap with elements of 'extra' (default TRUE). |
... |
Passed to |
The sorted 'regions' object with additional annotation columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.