Description Usage Arguments Value Examples
Density Plot of β-Values
1 2 3 4 5 6 7 | plot_density(
m,
ranges = NULL,
n_cpgs = 25000,
pheno = NULL,
col_palette = "RdYlGn"
)
|
m |
Input |
ranges |
genomic regions to be summarized. Could be a data.table with 3 columns (chr, start, end) or a |
n_cpgs |
Use these many random CpGs for plotting. Default 25000. Set it to |
pheno |
Column name of colData(m). Will be used as a factor to color different groups in the violin plot. |
col_palette |
Name of the RColorBrewer palette to use for plotting. |
ggplot2 object
1 2 | data('methrix_data')
plot_density(m = methrix_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.