plotSimulation {DIRECT} R Documentation

## Plotting Data Simulated Under A Random-Effects Mixture Model

### Description

Function plotSimulation displays sample means of data simulated under a random-effects mixture model. Each plot corresponds to a cluster. May need to partition the plotting area to display all in one plot.

### Usage

plotSimulation(simudata, times = 1:ntime, nsize,
ntime = length(times), nrep, skip = 0, ...)


### Arguments

 simudata List produced by simuDataREM. Contains simulated data. times Vector of length ntime indicating at which time points data are simulated. nsize An integer vector containing sizes of simulated clusters. ntime Number of time points. nrep Number of replicates. skip Not for use. ... Addition arguments for plot.

None.

Audrey Q. Fu

### References

Fu, A. Q., Russell, S., Bray, S. and Tavare, S. (2013) Bayesian clustering of replicated time-course gene expression data with weak signals. The Annals of Applied Statistics. 7(3) 1334-1361.

simuDataREM for simulating data.
outputData for writing simulated data and parameter values used in simulation into external files.
DIRECT for clustering the data.
## See example for simuDataREM.