regvelo.metrics.abundance_test¶
- regvelo.metrics.abundance_test(prob_raw, prob_pert, method='likelihood')[source]¶
Perform an abundance test comparing cell fate probabilities between raw and perturbed datasets.
- Parameters:
prob_raw (
DataFrame) – DataFrame containing fate probabilities from the original (unperturbed) data.prob_pert (
DataFrame) – DataFrame containing fate probabilities from the perturbed data.method (
Literal['likelihood','t-statistics']) –Scoring method to use:
”t-statistics” (uses t-statistics),
”likelihood” (uses ROC AUC).
- Return type:
DataFrame- Returns:
: DataFrame containing:
”coefficient” (test statistic or ROC AUC score),
”p-value” (unadjusted p-value),
”FDR adjusted p-value” (Benjamini-Hochberg corrected p-value).