scSLAT.metrics.hit_celltype
- scSLAT.metrics.hit_celltype(source_df, target_df, matching, meta='celltype')[source]
Statistics of cell type correct mapping ratio
- Parameters:
source_df (
pandas.core.frame.DataFrame) – source dataset meta dataframetarget_df (
pandas.core.frame.DataFrame) – target dataset meta dataframematching (
numpy.ndarray) – cell correspondence arraymeta (
typing.Optional[str]) – column name in source and target specify the celltype info
- Return type: