plotDMN {miaViz} | R Documentation

## Plotting Dirichlet-Multinomial Mixture Model data

### Description

To plot DMN fits generated with `mia` use `plotDMNFit`.

### Usage

    plotDMNFit(x, name = "DMN", type = c("laplace", "AIC", "BIC"), ...)

    ## S4 method for signature 'SummarizedExperiment'
    plotDMNFit(x, name = "DMN", type = c("laplace", "AIC", "BIC"))

### Arguments

`x` | a `SummarizedExperiment` object contain the DMN data in `metadata`.
`name` | the name to store the result in `metadata`
`type` | the type of measure for access the goodness of fit. One of ‘laplace’, ‘AIC’ or ‘BIC’.
`...` | optional arguments not used.

### Value

`plotDMNFit` returns a `ggplot2` plot.

### See Also

`calculateDMN`

### Examples

    data(dmn_se, package = "mia")
    names(metadata(dmn_se))

    # plot the fit
    plotDMNFit(dmn_se, type = "laplace")

[Package miaViz version 1.2.1 Index]