GroupByGenotype.get_labels

GroupByGenotype.get_labels#

missionbio.mosaic.algorithms.group_by_genotype.GroupByGenotype.get_labels

GroupByGenotype.get_labels() ndarray#

Group the cells based on genotype using the given parameters.

Returns:
np.ndarray: Clone label for each cell.

The clone labels are numerical and ordered based on the proportions of the cells in each clone. Depending on the parameters the other labels are “missing”, and “small”.


< Class GroupByGenotype