sample_outcome_prob {DCLEAR} | R Documentation |
sample_outcome_prob
Description
Sampling outcome probability based on a gamma distribution
Usage
sample_outcome_prob(config, num_states = 20L, shape = 0.1, scale = 2)
Arguments
config |
a lineage_tree_config object |
num_states |
number of states used in simulation. |
shape |
shape parameter in gamma distribution |
scale |
scale parameter in gamma distribution |
Value
a probability vector for each alphabet
Author(s)
Wuming Gong (gongx030@umn.edu)
[Package DCLEAR version 1.0.13 Index]