makeSimDataTcc: Create simulated counts using TCC package

Description Usage Arguments Value Author(s) Examples

View source: R/sim.R

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

1

Arguments

...

parameters to the simulateReadCounts function.

Value

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

Author(s)

Panagiotis Moulos

Examples

1
2
3
4
5
6
if (require(TCC)) {
dd <- makeSimDataTcc(Ngene=1000,PDEG=0.2,
    DEG.assign=c(0.9,0.1),
    DEG.foldchange=c(5,5),replicates=c(3,3))
head(dd$simdata)
}

metaseqR2 documentation built on Nov. 8, 2020, 7:34 p.m.