a function to assign variants to edges based on maximum likihood

# S4 method for redeemR
Add_AssignVariant(redeemR = DN1_HSC_redeemR.VerySensitive, n.cores = 4)

Arguments

redeemR

Need to have redeemR@Ctx.Mtx.depth (By Add_DepthMatrix), redeemR@Cts.Mtx redeemR@Cts.Mtx.bi, redeemR@TREE

Value

redeemR with @AssignedVarian list of two p is a probability matrix of variants vs edges (Rowsum is 1) and Variant.assign.report, a dataframe (Variant|Edge.Assign|prob)