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

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

Arguments

redeemR

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