Specify either max_cost or n_cut. max_cost works similarly as h and n_cut works similarly as k in stats::cutree. The top-level normal diploid clone is always included.
get_gtree(tree, P, n_cut = 0, max_cost = 0)
tbl_graph Phylogeny annotated with branch lengths and mutation events
phylo Single-cell phylogenetic tree
matrix Genotype probability matrix
integer Number of cuts on the phylogeny to define subclones
numeric Likelihood threshold to collapse internal branches