Description Usage Arguments Value Author(s) Examples
create_enh_region
creates enhancer region from gene annotation data.
1 2 | create_enh_region(annot_data, chrom_size = NULL, upstream = -15000,
downstream = 15000)
|
annot_data |
A |
chrom_size |
Optional |
upstream |
Integer defining the length of bp upstream of enhancer centre. |
downstream |
Integer defining the length of bp downstream of enhancer cetre. |
A GRanges
object containing the enhancer
regions data.
C.A.Kapourani C.A.Kapourani@ed.ac.uk
1 2 3 4 5 | enh_beatson_file <- system.file("extdata", "enhancers_beatson.bed", package = "processHTS")
gene_beatson_file <- system.file("extdata", "rna_beatson2.bed", package = "processHTS")
enh_beatson_data <- read_enh_beatson(enh_beatson_file, gene_beatson_file)
enh_beatson_data <- enh_beatson_data$enhancer_data
enh_regions <- create_enh_region(enh_beatson_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.