S4 class that holds parameters for the Kersplat simulation.
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.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.densdensity object 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.
bcv.commonUnderlying common dispersion across all genes.
[bcv.df]Degrees of Freedom for the BCV inverse chi-squared distribution.
[network.graph]Graph containing the gene network.
[network.nRegs]Number of regulators in the network.
[paths.programs]Number of expression programs.
[paths.design]data.frame describing path
structure. See kersplatSimPaths for details.
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.densdensity object 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.
[cells.design]data.frame describing cell
structure. See kersplatSimCellMeans for details.
[doublet.prop]Proportion of cells that are doublets.
[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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.