This is a function borrowed from https://github.com/NickWilliamsSanger/treemut/blob/main/R/treemut.R#L68 Input phylo object, return a "profile matrix"--Edge(or denoted as the ending node) vs cell. a 0, 1 character string that indicate what cells in a given node

reconstruct_genotype_summary(phylo)

Arguments

phylo

phylo an ape object

Value

df includes df$df which is a big data frame, and df$sample that is the cell names