R/Test.R

# Test parameters

nGenes = 5000
nCells = 600
nPop = 6
pPop = c(30, 20, 5, 10, 30, 5)
seed = 125

# Define basal gene expression (default)
distribution = "gamma"
fstParam = 2
sndParam = 0.75

# Define batch effect in the data
nbBatch = 1
cellsPerBatch = NULL
batchEffect = NULL

# Define differentially expressed genes proportion
pDEG = c(4, 4, 3, 2, 2, 5)
pDE = c(20, 40, 30, 40, 10, 60)
pDP = 20
pDM = c(40, 20, 30, 20, 50, 0)
pDC = 20
pUp = c(70, 50, 40, 60, 70, 30)
pDown= c(30, 50, 60,40, 30, 70)

cellMixedDP = "pseudo"
mixDP = 25
cellMixedDM = "pseudo"
mixDM = 25
popMixDP = NULL
trajectory = list(c(1,2,3,4), c(1,2,5))
doublet = 2

distrUpFc = "medium"
distrDownFc = "medium"

dropoutPct = 50


# t <- newSCsimSet(nGenes = 1000,
#                  nCells = 200,
#                  nPop = 3,
#                  pPop = c(30, 10, 60),
#                  seed = 25,
#
#                  distribution = "gamma",
#                  fstParam = 2,
#                  sndParam = 0.75,
#
#                  nbBatch = 2,
#                  cellsPerBatch = c(30, 70),
#                  batchEffect = NULL,
#
#                  pDEG = c(20, 30, 10),
#                  pDE = c(40, 10, 20),
#                  pDP = 20,
#                  pDM = c(30, 60, 50),
#                  pDC = 10,
#                  pUp = c(70, 50, 20),
#                  pDown= c(30, 50, 80),
#
#                  cellMixedDP = "pseudo",
#                  mixDP = 25,
#                  cellMixedDM = "pseudo",
#                  mixDM = 25,
#                  popMixDP = NULL,
#                  trajectory = list(c(1,2,3)),
#                  doublet = 2,
#
#                  distrUpFc = "medium",
#                  distrDownFc = "medium",
#
#                  dropoutPct = 50
# )
DeprezM/SCsim documentation built on May 10, 2019, 12:53 p.m.