scphylo.tl.partition_function#
- scphylo.tl.partition_function(df_input, alpha, beta, n_samples, n_batches, muts, cells)[source]#
Calculate the probability of a mutation seeding particular cells.
- Parameters
- Returns
A table of probabilities for every mutation and every batch.
- Return type
Examples#
Reconstruct tree by Trisicell-PartF
Reconstruct tree by Trisicell-PartF