Plotting Data Simulated Under A Random-Effects Mixture Model
Plotting Data Simulated Under A Random-Effects Mixture Model
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.
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.
Returns
None.
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.
Author(s)
Audrey Q. Fu
See Also
simuDataREM for simulating data.
outputData for writing simulated data and parameter values used in simulation into external files.