View source: R/calculate_differential_prioritization.R
calculate_differential_prioritization | R Documentation |
Execute a permutation test to identify cell types with statistically significant differences in AUC between two different rounds of cell type prioritization (for instance, the response to drugs A and B, as compared to a common untreated control).
calculate_differential_prioritization(
augur1,
augur2,
permuted1,
permuted2,
n_subsamples = 50,
n_permutations = 1000
)
augur1 |
Augur results from condition 1, obtained from
|
augur2 |
Augur results from condition 2, obtained from
|
permuted1 |
permuted Augur results from condition 1, obtained from
|
permuted2 |
permuted Augur results from condition 2, obtained from
|
n_subsamples |
the number of subsamples to pool when calculating the mean AUC for each permtation; defaults to 50 |
n_permutations |
the total number of mean AUCs to calculate from a background distribution |
a data frame containing the following columns:
cell_type
: the cell types in the input dataste
auc.x
: the AUC in condition 1
auc.y
: the AUC in condition 2
delta_auc
: the difference in AUCs between conditions
b
number of times an equally large difference in AUCs was
observed in the permuted data
m
: total number of permutations performed
z
: the z score of the observed delta-AUC, relative to the
null distribution
pval
: the permutation p-value for the observed delta-AUC
padj
: the BH-corrected p-value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.