Constructor for type graph
make_type_graph.RdConstructor for type graph
Usage
make_type_graph(
  root_id,
  node_id,
  tip_id,
  merge_matrix,
  differntiation_time,
  differntiation_mode_probs,
  double_time,
  founder_size,
  target_time,
  transition_selection = NULL
)Arguments
- root_id
 name of root, which is the integer num_tip - 1
- node_id
 vector of names of the graph nodes, i.e. progenitor states
- tip_id
 vector of names of the graph tip, i.e. terminal states
- merge_matrix
 character matrix specifying the sequence of merges
- differntiation_mode_probs
 commitment bias, need to be vector of length 5, only first values two are non-zero
- double_time
 list of doubling times for each state
- founder_size
 founder size
- target_time
 time of sample collection
- differentiation_time
 commitment time of states