SampleEdgeNew: Generate child CIF based on parent CIF

View source: R/GE_LB_sim.R

SampleEdgeNewR Documentation

Generate child CIF based on parent CIF

Description

Generate child CIF based on parent CIF

Usage

SampleEdgeNew(
  edge,
  depth,
  anc_state,
  edges,
  sif_mean = NULL,
  S = NULL,
  cif = NULL,
  mu = 0.1,
  p_d = 0,
  barcode = NULL,
  flag = 0,
  N_ms = NULL,
  unif_on = FALSE,
  lambda = NULL
)

Arguments

edge

current edge on the cell lineage tree

depth

current depth of the parent node

anc_state

Cell Identity Factor value of the parent node

edges

edge list of the cell lineage tree

sif_mean

state identity factor values

S

state and state identity factor of the parent

cif

cell identity factor matrix

mu

mutation rate

p_d

whether or not to have dropouts

barcode

current barcode of the parent node

flag

whether or not generate barcode along with gene expressions

N_ms

Number of possible mutated states

unif_on

if unif_on is TRUE, the mutated states will be synthetically generated using uniform distribution; otherwise, it will be sampled from a real dataset

lambda

a num vector that indicates the value of lambda that weights the additional random walk value for different depths


Galaxeee/TedSim documentation built on Oct. 2, 2022, 1:25 a.m.