generateData: A function generating simulation data

Description Usage Arguments Details Value Author(s) References Examples

Description

A function generating simulation data

Usage

1
2
generateData(n.gene = 20000, n.cond = 2, n.deg = 0, eff = 1000,
  n.rep = 3, disp = 0.25)

Arguments

n.gene

the number of genes (default 20000)

n.cond

the number of conditions (default 2)

n.deg

the number of differentially expressed genes (DEGs) (default 0)

eff

count difference of DEGs between conditions (default 1000)

n.rep

the number of replicates in each condition (default 3)

disp

dispersion parameter for NB distribution (default 0.25)

Details

See the reference paper

Value

matrix

simulated datasets

Author(s)

Jungsoo Gim

References

J. Gim and T. Park, PLoS ONE under revision (http://bibs.snu.ac.kr/software/LPEseq)

Examples

1
2
3
4
5
## Generating a replicated simulation dataset
simData <- generateData(n.deg=1000)

## Generating a non-replicated simulation dataset
simData.norep <- generateData(n.deg=1000, n.rep=1)

iedenkim/LPEseq documentation built on May 27, 2019, 7:26 a.m.