View source: R/DownsampleMatrix.R
calcEffectSizes | R Documentation |
Finds the effect sizes for all genes in the original dataset, regardless of significance.
calcEffectSizes(countMatrix, condition)
countMatrix |
Matrix. A simulated counts matrix, sans labels. |
condition |
Factor. The condition labels for the simulated cells. If more than 2 conditions are given, the first will be compared to all others by default. |
A vector of cohen's d effect sizes for each gene.
data("mouseBrainSubsetSCE")
res <- calcEffectSizes(assay(mouseBrainSubsetSCE, "counts"),
condition = colData(mouseBrainSubsetSCE)$level1class)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.