scphylo.tl.consensus#

scphylo.tl.consensus(sc1, sc2)[source]#

Build the consensus tree between two tumor progression trees.

Parameters
Returns

The consensus tree in which cells are in edges and mutations are in edges.

Return type

networkx.DiGraph