scphylo.tl.consensus#
- scphylo.tl.consensus(sc1, sc2)[source]#
Build the consensus tree between two tumor progression trees.
- Parameters
df1¶ (
pandas.DataFrame
) – First conflict-free matrix.df2¶ (
pandas.DataFrame
) – Second conflict-free matrix.
- Returns
The consensus tree in which cells are in edges and mutations are in edges.
- Return type