trisicell.pp.filter_mut_reference_must_present_in_at_least

trisicell.pp.filter_mut_reference_must_present_in_at_least(adata, min_cells=1)[source]

Remove mutations based on the wild-type status.

This function removes mutations that don’t have the status of wild-type in at least min_cells cells. Note that mutations that are present in all cells will not be filtered out by this function.

Parameters
  • adata (anndata.AnnData) – The input readcount data.

  • min_cells (int, optional) – Minimum number of cells, by default 1