Skip to contents

Find maximum lilkelihood assignment of mutations on a tree

Usage

annotate_tree(tree, P)

Arguments

tree

phylo Single-cell phylogenetic tree

P

matrix Genotype probability matrix

Value

tbl_graph A single-cell phylogeny with mutation placements

Examples

gtree_small = annotate_tree(tree_small, P_small)