growth_stage: Simulate cell splitting over n generations

Description Usage Arguments Value Examples

Description

Takes in a gland of n cells, allow cell splitting to occur and, discard half and repeat process a set number of times.

Usage

1
growth_stage(gland, n, side = rep("left", n))

Arguments

gland

A gland object

n

number of generations

side

character vector of length n with values "left" and "right" denoting if the left or right side is chosen when splitting occur.

Value

a gland object

Examples

1
2
3
gland <- gland_create(sample(c(0, 1), 10, TRUE), n_iter = 4)

growth_stage(gland, 30)

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