mantispy.pp.filter_cells#
- mantispy.pp.filter_cells(adata, min_cells_per_well=50, qc_pass=True, copy=False)[source]#
Drop cells that fail QC or sit in under-populated wells.
- Parameters:
adata (
AnnData) – Object to filter.min_cells_per_well (
int(default:50)) – Wells with fewer cells than this are dropped entirely.0disables the check.qc_pass (
bool(default:True)) – Also requireobs["qc_pass"], whichcalculate_qc_metrics()writes.copy (
bool(default:False)) – Return a filtered copy instead of filtering in place.
- Return type: