get_fantom5_variants | R Documentation |
FANTOM5 is used to get the enhancers of the genes, then the variants
located on the enhancers are fetched with get_variants_from_locations
It is also possible to specify a correlation threshold to limit the number
of association to output (default: 0.25). The enhancer tss association file
is based on hg19, so liftOver is needed.
get_fantom5_variants(
fantom_df,
omim_genes,
corr_threshold = 0.25,
hg19ToHg38.over.chain,
verbose = FALSE
)
fantom_df |
the output of |
omim_genes |
output from |
corr_threshold |
the minimum correlation (z-score) to consider a enhancer/gene association valid (default: 0.25). A z-score greater than 0 represents an element greater than the mean, this means that this association has more correlation than random motifs. |
hg19ToHg38.over.chain |
the chain file to liftOver locations from hg19 to hg38. |
verbose |
if true, will print progress information (default: FALSE) |
a data.frame with information about the variants located on the enhancers. The data.frame will contain the following columns:
chr (chromosome)
pos (position of the variant)
rsid (variant ID)
ensembl_gene_id ("gene id" of the gene associated with the variant)
hgnc_symbol ("hgnc symbol" of the gene associated with the variant)
source (here the value will be "fantom5")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.