S4 class that holds parameters for the Kersplat simulation.
Parameters
The Kersplat 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.
- Mean parameters
mean.shapeShape parameter for the mean gamma distribution.
mean.rateRate parameter for the mean gamma distribution.
mean.outProbProbability that a gene is an expression outlier.
mean.outFacLocLocation (meanlog) parameter for the expression outlier factor log-normal distribution.
mean.outFacScaleScale (sdlog) parameter for the expression outlier factor log-normal distribution.
mean.densdensityobject describing the log gene mean density.[mean.method]Method to use for simulating gene means. Either "fit" to sample from a gamma distribution (with expression outliers) or "density" to sample from the provided density object.
[mean.values]Vector of means for each gene.
- Biological Coefficient of Variation parameters
bcv.commonUnderlying common dispersion across all genes.
[bcv.df]Degrees of Freedom for the BCV inverse chi-squared distribution.
- Network parameters
[network.graph]Graph containing the gene network.
[network.nRegs]Number of regulators in the network.
- Paths parameters
[paths.programs]Number of expression programs.
[paths.design]data.frame describing path structure. See
kersplatSimPathsfor details.
- Library size parameters
lib.locLocation (meanlog) parameter for the library size log-normal distribution, or mean parameter if a normal distribution is used.
lib.scaleScale (sdlog) parameter for the library size log-normal distribution, or sd parameter if a normal distribution is used.
lib.densdensityobject describing the library size density.[lib.method]Method to use for simulating library sizes. Either "fit" to sample from a log-normal distribution or "density" to sample from the provided density object.
- Design parameters
[cells.design]data.frame describing cell structure. See
kersplatSimCellMeansfor details.
- Doublet parameters
[doublet.prop]Proportion of cells that are doublets.
- Ambient parameters
[ambient.scale]Scaling factor for the library size log-normal distribution when generating ambient library sizes.
[ambient.nEmpty]Number of empty cells to simulate.
The parameters not shown in brackets can be estimated from real data using
kersplatEstimate. For details of the Kersplat simulation
see kersplatSimulate.