Skip to contents

Computes the probability of reaching each terminal state from each starting state.

Usage

compute_fate_probability(trans_prob, terminal_states, n_steps = 500)

Arguments

trans_prob

Transition probability matrix

terminal_states

Indices of terminal states

n_steps

Number of simulation steps

Value

Matrix of fate probabilities (cells x terminal states)