gland_create: Create gland of cells from a single starting cell.

Description Usage Arguments Value Examples

Description

Create gland of cells from a single starting cell.

Usage

1
gland_create(starting_value, change = c(0.002, 0.006), n_iter = 12)

Arguments

starting_value

logical vector of states.

change

Rate of mutation for each cell splitting. First values is the chance of going form 0 to 1, and the second is the chance of going for 1 to 0.

n_iter

number of generations of cell splitting. Defaults to 12 which results in 4096 cells.

Value

A list of cells. gland object.

Examples

1
gland_create(sample(c(0, 1), 10, TRUE))

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