DiscreteEVF: Generating EVFs for cells sampled from tip populations from a...

View source: R/simulation_functions.R

DiscreteEVFR Documentation

Generating EVFs for cells sampled from tip populations from a tree

Description

Generating EVFs for cells sampled from tip populations from a tree

Usage

DiscreteEVF(
  phyla,
  ncells_total,
  min_popsize,
  i_minpop,
  Sigma,
  n_nd_evf,
  n_de_evf,
  vary,
  evf_center,
  seed
)

Arguments

phyla

tree for cell developement

ncells_total

number of cells from all populations

min_popsize

size of the rarest population

i_minpop

to specify which population has the smallest size

Sigma

The standard deviation of the brownian motion of EVFs changing along the tree

n_nd_evf

number of non-Diff EVFs

n_de_evf

number of Diff EVFs

vary

which parameters are affected by Diff-EVFs. Can be "kon", "koff", "s", "all", "except_kon", "except_koff", "except_s". Suggestions are "all" or "s"

evf_center

the value used to generated evf means. Suggested value is 1

seed

the random seed

Value

a list of two object, one is the evf, and the other is a dataframe indicating the population each cell comes from (pop)


YosefLab/SymSim documentation built on Sept. 30, 2024, 2:22 p.m.