plotMDS | R Documentation |
Compute and plot the results of a MDS analysis on gene expression data
plotMDS(edata, dims = c(1, 2), precomputed = NULL, rl = 1, ...)
## S4 method for signature 'DGEList'
plotMDS(edata, dims = c(1, 2), precomputed = NULL, rl = 1, ...)
## S4 method for signature 'ExpressionSet'
plotMDS(edata, dims = c(1, 2), precomputed = NULL, rl = 1, ...)
## S4 method for signature 'SummarizedExperiment'
plotMDS(edata, dims = c(1, 2), precomputed = NULL, rl = 1, ...)
edata |
a DGEList, SummarizedExperiment or ExpressionSet object containing gene expression data. |
dims |
a numeric, containing 2 values specifying the dimensions to plot. |
precomputed |
a dimensional reduction results from either 'limma::plotMDS'. |
rl |
a numeric, specifying the relative scale factor to apply to text on the plot. |
... |
aesthetic mappings to pass to 'ggplot2::aes_string()'. |
a ggplot2 object
se = emtdata::cursons2018_se()
dge = emtdata::asDGEList(se)
plotMDS(dge, colour = Subline)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.