Skip to contents

DESeq normalization for miRNA-Seq data using the DESeq2 package.

Usage

norm.DESeq(raw, groups = rep(1, ncol(raw)))

Arguments

raw

Raw read count matrix (rows = genes, cols = samples).

groups

Sample groups (subtypes)

Value

A list with the following elements:

dataNormalized

Normalized read counts.

scalingFactor

Normalizing factors for scaling the raw data.

Examples

rawCounts <- matrix(0:20, nrow = 7)
normCounts <- norm.DESeq(rawCounts)
#> Error in data.frame(SampleName = colnames(raw), Condition = factor(groups)): arguments imply differing number of rows: 0, 3