scSemiProfiler_dev.utils.rrho¶
-
scSemiProfiler_dev.utils.rrho(gtdata, semisdata, celltype_key, celltype)[source]¶ Use RRHO graph to compare the positive and negative markers found using real-profiled and semi-profiled datasets.
- Parameters
gtdata (
anndata._core.anndata.AnnData) – Real-profiled (ground truth) datasemisdata (
anndata._core.anndata.AnnData) – Semi-profiled datasetcelltype_key (
str) – The key in anndata.AnnData.obs for storing the cell type informationcelltype (
str) – The selected cell type to analyze
Example
>>> rrho(gtdata=gtdata,semisdata=semisdata,celltype_key='celltypes',celltype='CD4')
- Return type