a function to cut tree using assigned variant as branch-length on edge

# S4 method for mitoTracing
Add_tree_cut(
  mitoTracing = DN4_stemcell_mitoTracing.seed.verysensitive,
  MinCell = 30,
  N = 1,
  prob.cut = 0.3,
  Dumpcut = 100
)

Arguments

mitoTracing

Need to have had the tree built

MinCell

The minimum number of cells in each clone, otherwise merge with sibling

N

branch length to cut the tree

Dumpcut

Number of can be tolerated to be removed to fulfill the right side. The small value-> Less unassignment, big clones

Value