trace_plot {BDMMAcorrect}R Documentation

Trace plot of BDMMA output

Description

Trace plot of BDMMA output

Usage

trace_plot(trace, param, col = "black")

Arguments

trace

A data.frame named "trace" contained in the output of function BDMMA

param

A character vector including the parameters' name for trace_plot

col

A string defining the color of trace plot (default color is black)

Value

The function returns a list containing plot objects of parameters' trace plot.

Examples

require(SummarizedExperiment)
data(Microbiome_dat)
## (not run)
## output <- BDMMA(Microbiome_dat, burn_in = 3000, sample_period = 3000)
## figure <- trace_plot(output$trace, param = c("alpha_1", "beta1_10"))
## print(figure)

[Package BDMMAcorrect version 1.11.0 Index]