sample_outcome_prob: sample_outcome_prob

View source: R/simulate.r

sample_outcome_probR 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)


DCLEAR documentation built on Sept. 14, 2023, 9:09 a.m.