simulateNormFactors: Simulate Normalization Factors

Description Usage Arguments Value Author(s) See Also Examples

View source: R/simulateNormFactors.R

Description

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

Usage

1
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<c5><9b> <andrzej.oles@embl.de>, 2016-2017

See Also

simulateRnaSeqData

Examples

1
2
3
4
5
6
7
8
require("DESeq2")

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

dds = DESeqDataSet(se, design = ~ condition)

normalizationFactors(dds) = simulateNormFactors()

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