ProgenyMapping_np.Rd
ProgenyMapping_np Define a function to compute network propagation based probability FromDist2Graph is needed to convert fistance matrix into MNN graph
ProgenyMapping_np(
HSC_redeemR = DN4_stemcell_redeemR.seed.verysensitive,
Full_redeemR = DN4_BMMC_HSPC_HSC_redeemR.verysensitive,
CloneCol = "Clone_merge",
k = 30,
gm = 0.5,
useLSI = F,
useSCAVENGE_LSI = F,
subsample = F,
ProbCut = 0.7,
Celltype = "Rig.CellType"
)
The HSC_redeemR is the redeemR object for defined HSC, have already gone through Add_DepthMatrix--Add_AssignVariant--Add_tree_cut, otherwise, need othereise, need a column in CellMeta that indicates the clone ID
The FULL_redeemR is the redeemR object for the full BMMC_HSPC_HSC
"Clone_merge"
the k.param used for MNN graph
gamma default is 0.05 which mean 95% information is passing out
The cutoff of the maximum probability for a given progeny cell(If the maximum probability is lower than ProbCut, it will be filtered)
The column to be used in aggregate into lineages
a list of two ALLmeta.npClone (A meta data with last column npClone), np_mat (the network propagation matrix))