sccoda.model.other_models.scdney_model.analyze¶
-
scdney_model.
analyze
(ground_truth=None, r_home='', r_path='', alpha=0.05)¶ Analyzes results from R script for SCDC from scdney packege. It is assumed that the effect on the first cell type is significant, all others are not.
- Parameters
- ground_truth :
array
,None
Optional
[array
] (default:None
) binary array for comparison to ground truth
- r_home :
str
str
(default:''
) path to R installation on your machine, e.g. “C:/Program Files/R/R-4.0.3”
- r_path :
str
str
(default:''
) path to R executable on your machine, e.g. “C:/Program Files/R/R-4.0.3/bin/x64”
- alpha :
float
float
(default:0.05
) p-value cutoff
- ground_truth :
- Return type
Tuple
[DataFrame
,Tuple
[ndarray
,ndarray
,ndarray
,ndarray
]]Tuple
[DataFrame
,Tuple
[ndarray
,ndarray
,ndarray
,ndarray
]]- Returns
summary and classification results
Tuple – Tuple(raw summary from R, True positive…)