- trisicell.tl.partition_function(df_input, alpha, beta, n_samples, n_batches, muts, cells)
Calculate the probability of a mutation seeding particular cells.
pandas.DataFrame) – Input genotype matrix.
alpha (float) – False positive error rate.
beta (float) – False negative error rate.
n_samples (int) – Number of samples to get from the distribution (suggest: 1000)
n_batches (int) – Number of batches to repeat the experiment (suggest: 100)
muts (list) – The list of mutations
cells (list) – The list of cells
A table of probabilities for every mutation and every batch.
- Return type