addDifferentiationEvents: Adds a differentiation events to a simpop. Can either specify...

View source: R/sim_pop.R

addDifferentiationEventsR Documentation

Adds a differentiation events to a simpop. Can either specify relevant tips or randomly generate.

Description

Adds a differentiation events to a simpop. Can either specify relevant tips or randomly generate.

Usage

addDifferentiationEvents(
  tree,
  cfg,
  newCellType,
  idx = NULL,
  nEvent = -1,
  currentCompartment = -1
)

Arguments

tree
  • simpop.

cfg
  • List. simpop config.

newCellType
  • character

idx
  • integer. Index of

currentCompartment
  • integer. ID (value) of compartment to be added to.


NickWilliamsSanger/rsimpop documentation built on Sept. 6, 2024, 12:42 a.m.