Description Usage Arguments Value
View source: R/AnnotationHelper.R
Utility function to get a gene list from a set of regions.
1 2 | gene_from_regions(regions, annotations.list, flank.size = c(-3000, 3000),
region.types = c("Gene body", "Promoter", "Downstream", "Distal", "All"))
|
regions |
A GRanges object with regions to be associated to genes. |
annotations.list |
A list of annotation databases returned by
|
flank.size |
The extent around the TSS which is considered the promoter region. |
region.types |
A character vector representing region types which will cause a gene association. These can be:
|
A data-frame with the enrichment results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.