dot-synthesis: Internal function for generating synthetic single-cell data...

Description Usage Arguments Value

Description

Internal function for generating synthetic single-cell data through simulation of tumor growth and evolution.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
.synthesis(
  sample,
  site,
  evolutionSteps,
  mutationRate = 0.01,
  advantageIncreaseRatio = 1,
  advantageDecreaseRatio = 10,
  advantageKeepRatio = 100,
  advantageIncreaseStep = 0.01,
  advantageDecreaseStep = 0.01,
  mvRate = 0.5,
  fpRate = 0.2,
  fnRate = 0.1,
  seed = -1L
)

Arguments

sample

Number of samples

site

Number of sites

evolutionSteps

Number of non-root nodes in the evolutionary tree to be generated.

mutationRate

The rate of mutation on each evolutionary step in evolutionary tree synthesis.

advantageIncreaseRatio, advantageDecreaseRatio, advantageKeepRatio

A child node in the evolutionary tree is chosen for increase/decrease/keep its parent advantage with probabilities proportional to advantage.increase.ratio/advantage.decrease.ratio/advantage.keep.ratio.

advantageIncreaseStep, advantageDecreaseStep

The amount of increasing or decreasing the advantage of a cell relative to its parent.

mvRate

Rate of missing value to be added to the resulting sequences.

fpRate, fnRate

Rate of false positive (0 -> 1) and false negative (1 -> 0) in the sequences.

seed

The seed for randomization.

Value

The function returns a list. The list consists of


RScelestial documentation built on Dec. 11, 2021, 10:02 a.m.