Learn R Programming

metaseqR (version 1.12.2)

make.sim.data.tcc: Create simulated counts using TCC package

Description

This function creates simulated RNA-Seq gene expression datasets using the simulateReadCounts function from the Bioconductor package TCC and it adds simulated annoation elements. For further information please consult the TCC package documentation.

Usage

make.sim.data.tcc(...)

Arguments

...
parameters to the simulateReadCounts function.

Value

  • A list with the following members: simdata holding the simulated dataset complying with metaseqr requirements, and simparam holding the simulation parameters (see TCC documentation). Note that the produced data are based in an Arabidopsis dataset.

Examples

Run this code
dd <- make.sim.data.tcc(Ngene=10000,PDEG=0.2,
        DEG.assign=c(0.9,0.1),
        DEG.foldchange=c(5,5),replicates=c(3,3))
head(dd$simdata)

Run the code above in your browser using DataLab