path_sim: sufficiently simulate a cell splitting tree

Description Usage Arguments Value Examples

Description

sufficiently simulate a cell splitting tree

Usage

1
path_sim(given_starting_gland, paths, n = 100)

Arguments

given_starting_gland

a gland object

paths

a list of paths consisting of vectors of "left" and "right".

n

number of generations

Value

a list of gland objects

Examples

1
2
3
4
5
6
gland <- gland_create(sample(c(0, 1), 10, TRUE), n_iter = 4)
paths <- list(c("left", "left", "right", "right"),
              c("left", "left", "left", "right"),
              c("left", "left", "left", "left"))

path_sim(gland, paths)

EmilHvitfeldt/cell documentation built on May 5, 2019, 7:03 p.m.