| SplatPopParams {splatter} | R Documentation |
S4 class that holds parameters for the splatPop simulation.
In addition to the SplatParams parameters, splatPop simulation
requires the following parameters:
[similarity.scale]Scaling factor for pop.cv.param.rate, where values larger than 1 increase the similarity between individuals in the population and values less than one make the individuals less similar.
[eqtl.n]The number (>1) or percent (<=1) of genes to assign eQTL effects.
[eqtl.dist]Maximum distance between eSNP and eGene
[eqtl.maf.min]Minimum Minor Allele Frequency of eSNPs.
[eqtl.maf.max]Maximum Minor Allele Frequency of eSNPs.
[eqtl.coreg]Proportion of eGenes to have a shared eSNP (i.e., co-regulated genes)
[eqtl.group.specific]Percent of eQTL effects to simulate as group specific.
[eqtl.condition.specific]Percent of eQTL effects to simulate as condition specific.
eqtl.ES.shapeShape parameter for the effect size gamma distribution.
eqtl.ES.rateRate parameter for the effect size gamma distribution.
pop.mean.shapeShape parameter for the mean (i.e. bulk) expression gamma distribution
pop.mean.rateRate parameter for the mean (i.e. bulk) expression gamma distribution
pop.cv.paramDataframe containing gene mean bin range, and the CV shape, and CV rate parameters for each of those bins.
batch.sizeThe number of donors in each pool/batch.
nCells.sampleTrue/False if nCells should be set as nCells or sampled from a gamma distribution for each batch/donor.
nCells.shapeShape parameter for the nCells per batch per donor distribution.
nCells.rateRate parameter for the nCells per batch per donor distribution.
[nConditions]The number of conditions/treatments to divide samples into.
[condition.prob]Probability that a sample belongs to each condition/treatment group. Can be a vector.
[cde.prob]Probability that a gene is differentially expressed in a condition group. Can be a vector.
[cde.downProb]Probability that a conditionally differentially expressed gene is down-regulated. Can be a vector.
[cde.facLoc]Location (meanlog) parameter for the conditional differential expression factor log-normal distribution. Can be a vector.
[cde.facScale]Scale (sdlog) parameter for the conditional differential expression factor log-normal distribution. Can be a vector.
The parameters not shown in brackets can be estimated from real data using
splatPopEstimate. For details of the eQTL simulation
see splatPopSimulate.