BatchQC (version 1.0.17)

rnaseq_sim: Generate simulated count data with batch effects for ngenes

Description

Generate simulated count data with batch effects for ngenes

Usage

rnaseq_sim(ngenes = 50, nbatch = 3, ncond = 2, npercond = 10, basemean = 10000, ggstep = 50, bbstep = 2000, ccstep = 800, basedisp = 100, bdispstep = 10, swvar = 1000, seed = 1000)

Arguments

ngenes
Number of genes to simulate
nbatch
Number of batches to simulate
ncond
Number of conditions to simulate
npercond
Number of samples per condition per batch to simulate
basemean
Base mean
ggstep
Gene to Gene step variation
bbstep
Batch to Batch step variation
ccstep
Condition to Condition step variation
basedisp
Base Dispersion
bdispstep
Batch to Batch Dispersion step variation
swvar
Sample-wise extra variation
seed
Random seed for reproducibility

Value

RNA Seq count data matrix

Examples

Run this code
rnaseq_sim()
rnaseq_sim(ngenes=100, nbatch=5, seed=1234)
rnaseq_sim(ngenes=100, nbatch=3, ncond=2, npercond=10, basemean=10000,
    ggstep=50, bbstep=20000, ccstep=8000, basedisp=100, bdispstep=10, 
    swvar=1000, seed=1234)

Run the code above in your browser using DataLab