plot.mnem_mcmc: Plot mnem_mcmc result.

View source: R/mnems.r

plot.mnem_mcmcR Documentation

Plot mnem_mcmc result.

Description

Plot mnem_mcmc result.

Usage

## S3 method for class 'mnem_mcmc'
plot(x, starts = NULL, burnin = 0, ...)

Arguments

x

mnem_mcmc object

starts

restarts of mcmc as used in mnem function

burnin

number of iteration to start from

...

parameters for function ggplot2

Value

visualization of mcmc result with Rgraphviz

Author(s)

Viktoria Brunner

Examples

sim <- simData(Sgenes = 3, Egenes = 2, Nems = 2, mw = c(0.4,0.6))
data <- (sim$data - 0.5)/0.5
data <- data + rnorm(length(data), 0, 1)
result <- mnem(data, k = 2, starts = 1)
plot(result)

cbg-ethz/mnem documentation built on Nov. 7, 2024, 7:35 p.m.