plotDMN | R Documentation |
To plot DMN fits generated with mia
use plotDMNFit
.
plotDMNFit(x, name = "DMN", type = c("laplace", "AIC", "BIC"), ...)
## S4 method for signature 'SummarizedExperiment'
plotDMNFit(x, name = "DMN", type = c("laplace", "AIC", "BIC"))
x |
a
|
name |
|
type |
|
... |
optional arguments not used. |
plotDMNFit
returns a ggplot2
plot.
calculateDMN
library(mia)
library(bluster)
# Get dataset
data("peerj13075", package = "mia")
tse <- peerj13075
# Cluster the samples
tse <- addCluster(tse, DmmParam(k = 1:4), name = "DMM", full = TRUE)
# Plot the fit
plotDMNFit(tse, name = "DMM", type = "laplace")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.