View source: R/preprocessing_filtering_reduction.R
define_feature | R Documentation |
Define the features on which reads will be counted
define_feature(ref = c("hg38","mm10", "ce11")[1],
peak_file = NULL,
bin_width = NULL,
genebody = FALSE,
extendPromoter = 2500)
ref |
Reference genome |
peak_file |
A bed file if counting on peaks |
bin_width |
A number of bins if divinding genome into fixed width bins |
genebody |
A logical indicating if feature should be counted in genebodies and promoter. |
extendPromoter |
Extension length before TSS (2500). |
A GRanges object
gr_bins = define_feature("hg38", bin_width = 50000)
gr_genes = define_feature("hg38", genebody = TRUE, extendPromoter = 5000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.