View source: R/methyl_MDS_plot.R
methyl_MDS_plot | R Documentation |
Same as plotMDS
, except for an arc-sine transformation of the
methylation proportions.
methyl_MDS_plot(x, group, top = 1000, coverage = 5, adj = 0.02, pointSize = 4)
x |
|
group |
Vector of group or any other labels, same length as number of samples. |
top |
Number of top CpG sites used to calculate pairwise distances. |
coverage |
Minimum number of reads covering a CpG site on each allele. Default = 5. |
adj |
Text adjustment in y-axis. Default = 0.2. |
pointSize |
Default = 4. |
Two-dimensional MDS plot.
data(readtuples_output)
ASM <- calc_asm(readtuples_output)
grp <- factor(c(rep('CRC',3),rep('NORM',2)), levels = c('NORM', 'CRC'))
methyl_MDS_plot(ASM, grp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.