simulateRnaSeqData: Example counts table of RNA-seq data

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/simulateRnaSeqData.R

Description

Simulated expression data of an RNA-seq experiment.

Usage

1
2
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

Details

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

Value

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

Author(s)

Andrzej Ole<c5><9b> <andrzej.oles@embl.de>, 2016-2017

See Also

simulateNormFactors

Examples

1
2
3
4
5
6
7
## count data matrix
mx = simulateRnaSeqData()
head(mx)

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

DEFormats documentation built on Nov. 8, 2020, 5:31 p.m.