simulateNormFactors: Simulate Normalization Factors

View source: R/simulateNormFactors.R

simulateNormFactorsR Documentation

Simulate Normalization Factors

Description

Simulate gene-specific normalization factors for each sample of an RNA-seq experiment.

Usage

simulateNormFactors(n = 1000L, m = 6L, seed = 0L, ...)

Arguments

n

number of genes

m

number of samples

seed

a single integer value specifying the random number generator seed

...

arguments passed to matrix

Value

A matrix with n rows and m columns containing the normalization factors.

Author(s)

Andrzej Oleś <andrzej.oles@gmail.com>, 2016-2023

See Also

simulateRnaSeqData

Examples

require("DESeq2")

## normalization factors
se = simulateRnaSeqData(output = "RangedSummarizedExperiment")

dds = DESeqDataSet(se, design = ~ condition)

normalizationFactors(dds) = simulateNormFactors()

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