Learn R Programming

DEFormats (version 1.0.2)

simulateRnaSeqData: Example counts table of RNA-seq data

Description

Simulated expression data of an RNA-seq experiment.

Usage

simulateRnaSeqData(output = c("matrix", "RangedSummarizedExperiment"), n = 1000, m = 6, seed = 0L, ...)

Arguments

output
output type
n
number of genes
m
number of samples
seed
a single integer value specifying the random number generator seed
...
arguments passed to makeExampleDESeqDataSet

Value

Depending on the output setting a matrix or an RangedSummarizedExperiment object.

Details

The count table is generated using the makeExampleDESeqDataSet method from the DESeq2 package.

See Also

simulateNormFactors

Examples

Run this code
## count data matrix
mx = simulateRnaSeqData()
head(mx)

## return an RangedSummarizedExperiment object
se = simulateRnaSeqData(output = "RangedSummarizedExperiment")
se

Run the code above in your browser using DataLab