create_synthetic {mfa}R Documentation

Create synthetic data

Description

Create synthetic bifurcating data for two branches. Optionally incorporate zero inflation and transient gene expression.

Usage

create_synthetic(C = 100, G = 40, p_transient = 0, zero_negative = TRUE,
  model_dropout = FALSE, lambda = 1)

Arguments

C

Number of cells to simulate

G

Number of genes to simulate

p_transient

Propotion of genes that exhibit transient expression

zero_negative

Logical: should expression generated less than zero be set to zero? This will zero-inflate the data

model_dropout

Logical: if true, expression will be set to zero with the exponential dropout formula dependent on the latent expression using dropout parameter lambda

lambda

The dropout parameter

Value

A list with the following entries:

Examples

synth <- create_synthetic()


[Package mfa version 1.15.0 Index]