Description Usage Arguments Value
Given results, this function will calculate the number of simulations in which at least one cell state cluster had a significant p-value frorm MASC analysis, meaning the cluster was expanded or depleted between conditions.
1 2 3 4 5 6 7 | getPowerFromRes(
resFiles,
resTables,
threshold = 0.05,
z = 1.96,
stratByClus = FALSE
)
|
resFiles |
A list of filenames that refer to the results from simulating a dataset |
resTables |
The MASC results tables obtained from MASC analysis on simulated datasets |
threshold |
The p-value threshold that determines significance |
z |
Determines the size of the confidence interval (CI) where z represents the % CI |
stratByClus |
Boolean that determines whether the power results will be calculated as the aggregate of all clusters or stratified by cluster. |
Returns a dataframe containing the power calculations from the simulated datasets
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.