Description Usage Arguments Value Author(s) Examples
View source: R/methylation_genomic_features.R
Calculate mean methylation in a list of genomic features
1 | get_mean_methylation_in_genomic_features(sample_id, genomic_features, chromosome = paste0("chr", 1:22))
|
sample_id |
a vector of sample IDs |
genomic_features |
a list or a single |
chromosome |
a vector of chromosome names |
A list of or a single GRanges
objects (according to genomic_features
you specified) in which mean methylation matrix and number of CpG in each region
are attached. The variable can be sent to heatmap_diff_methylation_in_genomic_features
to visualize.
Note it should be kept in mind that it doesn't make any sense to calculate mean methylation in long regions where there are hetergenuous methylation patterns.
Zuguang Gu <z.gu@dkfz.de>
1 2 | # There is no example
NULL
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.