MDSPlot | R Documentation |
Multi-Dimensional Scaling plot of samples based on the 500 most variant features (for edgeR analyses)
MDSPlot( dge, group, n = min(500, nrow(dge$counts)), gene.selection = c("pairwise", "common"), col = c("lightblue", "orange", "MediumVioletRed", "SpringGreen"), outfile = TRUE, ggplot_theme = theme_gray() )
dge |
a |
group |
vector of the condition from which each sample belongs |
n |
number of features to keep among the most variant |
gene.selection |
|
col |
colors to use (one per biological condition) |
outfile |
TRUE to export the figure in a png file |
ggplot_theme |
ggplot2 theme function ( |
A file named MDS.png in the figures directory
Marie-Agnes Dillies and Hugo Varet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.