View source: R/feature-plots.R
calcFeatureDistRefTSS | R Documentation |
Given a query GRanges object and an assembly string, this function will grab
the TSS list for the given reference assembly and then calculate the distance
from each query feature to the closest TSS. It is a wrapper of
calcFeatureDist
that uses built-in TSS features for a reference
assembly
calcFeatureDistRefTSS(query, refAssembly)
query |
A GenomicRanges or GenomicRangesList object with query regions |
refAssembly |
A character vector specifying the reference genome
assembly (*e.g.* 'hg19'). This will be used to grab chromosome sizes with
|
A vector of distances for each query region relative to TSSs.
calcFeatureDistRefTSS(vistaEnhancers, "hg19")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.