Description Usage Arguments Value Examples
View source: R/splatPop-simulate.R
For each sample, expression values are quantile normalized (qgamma) using the gamma distribution parameterized from splatEstimate(). This ensures the simulated gene means reflect the distribution expected from a sc dataset and not a bulk dataset.
1 | splatPopQuantNorm(params, means)
|
params |
SplatPopParams object containing parameters for population
scale simulations. See |
means |
Mean gene expression matrix with eQTL effects. |
matrix of quantile normalized gene mean expression levels.
1 2 3 4 5 | if (requireNamespace("VariantAnnotation", quietly = TRUE) &&
requireNamespace("preprocessCore", quietly = TRUE)) {
bulk.means <- mockBulkMatrix(n.genes = 100, n.samples = 100)
bulk.qnorm <- splatPopQuantNorm(newSplatPopParams(), bulk.means)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.