Learn R Programming

DCLEAR (version 1.0.13)

simulate_core: simulate_core

Description

Simulate a cell lineage tree Adoped from https://github.com/elifesciences-publications/CRISPR_recorders_sims/blob/master/MATLAB_sims/GESTALT_30hr_1x_simulation.m

Usage

simulate_core(config, tree, mutation_site, outcome)

Value

a `lineage_tree` object

Arguments

config

simulation configuration; a lineage_tree_config object

tree

a matrix representing the lineage tree

mutation_site

a binary matrix indicating the mutation sites

outcome

a character matrix