Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/methylation_qc_and_distribution.R
Global methylation distribution
1 2 3 4 5 6 |
sample_id |
a vector of sample IDs |
subgroup |
subgroup information |
reorder_column |
if it is true, samples are first ordered by subgroups and in each subgroup, samples are ordered by median values |
ha |
Annotations that are specified as a |
chromosome |
chromosome names |
by_chr |
whether make the plot by chromosome |
background |
background to look into. The value can be a single |
p |
probability to randomly sample CpG sites |
meth_range |
the range of methylation on the plot |
max_cov |
maximum range for coverage |
plot_cov |
whether also make plot for coverage |
There are two types of plots:
a heatmap showing the distribution density of methylation in all samples
a MDS plot
If by_chr
is set to FALSE
, it returns a vector of column order.
Zuguang Gu <z.gu@dkfz.de>
It uses mat_dist
to make the plots
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.