Description Usage Arguments Details Value Examples
View source: R/computeMatrix.R
Creates regions for metagene analysis.
1 | meta_regions(bed, anchor = "TSS", upstream = 1000, downstream = 1000)
|
bed |
filename for bed file. |
anchor |
anchor point TSS, TES, center or NULL (default='TSS') |
upstream |
bp upstream of anchor (default=1000) |
downstream |
bp downstream of anchor (default=1000) |
Loads the bed file. If anchor is NULL, returns region from TSS-upstream to TES+downstream. If anchor, extracts the position of the anchor point and creates ranges from x bp upstream to x bp downstream of the anchor point.
GRanges with regions.
1 2 | bedfile <- system.file("extdata", "Chen_PROMPT_TSSs_liftedTohg38.bed", package = "RMetaTools")
meta_regions(bedfile, 'TSS', 1000, 5000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.