simulateRnaSeqData: Example counts table of RNA-seq data

View source: R/simulateRnaSeqData.R

simulateRnaSeqDataR Documentation

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

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ś <andrzej.oles@gmail.com>, 2016-2023

See Also

simulateNormFactors

Examples

## count data matrix
mx = simulateRnaSeqData()
head(mx)

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

aoles/DEFormats documentation built on April 18, 2023, 12:07 a.m.