scSemiProfiler.utils.celltype_proportion

scSemiProfiler.utils.celltype_proportion(adata, totaltypes)[source]

Compute the cell type proportion in a dataset

Parameters
Return type

numpy.array

Returns

prop – Cell type proportion

Example

>>> real_prop = celltype_proportion(real_rep,totaltypes)