scphylo.pp.consensus_combine#
- scphylo.pp.consensus_combine(df)[source]#
Combine cells in genotype matrix.
This function combines the replicates or cells that have the same origin prior to running Trisicell-Cons. The replicates or cells that are supposed to be merged must be designated with _. For instance:
input: {{Cell1}_{ID1}, {Cell1}_{ID2}, {Cell2}_{ID1}, {Cell2}_{ID2}}.
output: {{Cell1}, {Cell2}}.
- Parameters
df¶ (
pandas.DataFrame
) – The input genotype matrix in conflict-free format.- Returns
The combine genotype matrix.
- Return type