S4 class that holds parameters for the Lun2 simulation.
Parameters
The Lun2 simulation uses the following parameters:
nGenesThe number of genes to simulate.
nCellsThe number of cells to simulate.
[seed]Seed to use for generating random numbers.
- Gene parameters
gene.paramsA
data.framecontaining gene parameters with two columns:Mean(mean expression for each gene) andDisp(dispersion for each gene).zi.paramsA
data.framecontaining zero-inflated gene parameters with three columns:Mean(mean expression for each gene),Disp(dispersion for each, gene), andProp(zero proportion for each gene).
[nPlates]The number of plates to simulate.
- Plate parameters
plate.ingroupCharacter vector giving the plates considered to be part of the "ingroup".
plate.modPlate effect modifier factor. The plate effect variance is divided by this value.
plate.varPlate effect variance.
- Cell parameters
cell.platesFactor giving the plate that each cell comes from.
cell.libSizesLibrary size for each cell.
cell.libModModifier factor for library sizes. The library sizes are multiplied by this value.
- Differential expression parameters
de.nGenesNumber of differentially expressed genes.
de.fcFold change for differentially expressed genes.
The parameters not shown in brackets can be estimated from real data using
lun2Estimate. For details of the Lun2 simulation see
lun2Simulate.