sccoda.model.other_models.HaberModel.eval_model¶
-
HaberModel.
eval_model
(ground_truth, alpha=0.05, fdr_correct=True)¶ Evaluates array of p-values compared to a ground truth via binary classification.
- Parameters
- ground_truth :
List
List
List (boolean, length same as number of cell types) indicating differential abundance for each cell type
- alpha :
float
float
(default:0.05
) p-value (or q-value if using FDR correction) threshold
- fdr_correct :
bool
bool
(default:True
) Whether to use Benjamini-Hochberg FDR correction for multiple testing
- ground_truth :
- Return type
Tuple
[ndarray
,ndarray
,ndarray
,ndarray
]Tuple
[ndarray
,ndarray
,ndarray
,ndarray
]- Returns
classification results
tp, tn, fp, fn – Number of True positive, … effects