cassiopeia.pp.filter_umis#

cassiopeia.pp.filter_umis(molecule_table, min_reads_per_umi=100)[source]#

Filters out UMIs with too few reads.

Filters out all UMIs with a read count <= min_reads_per_umi.

Parameters:
molecule_table DataFrame

A molecule table of cellBC-UMI pairs to be filtered

min_reads_per_umi int (default: 100)

The minimum read count needed for a UMI to not be filtered. Defaults to 100.

Return type:

DataFrame

Returns:

A filtered molecule table