Description Usage Arguments Value Examples
Calculate mean methylation value in a list of regions
1 2 3 |
sample_id |
a vector of sample IDs |
gf_list |
a list of genomic features in |
average |
whether to calcualte average methylation in a interval? if not, the function will randomly sample CpG sites from the input regions. |
p |
if average is FALSE, the probability to pick CpG sites |
chromosome |
a vector of chromosomes |
filter_fun |
filtering function on CpG sites in each intersection (e.g. exclude regions which contains too few CpGs). The object sent to this function is a vector of positions for CpGs that locate in the current region. |
a list of GRanges
objects in which mean methylation matrix are attached.
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.