Skip to contents

A cross-platform normalization method using FSQN to improve comparability of DNA microarray and RNA-seq datasets

Usage

quantileNormalizeByFeature(matrix_to_normalize, target_distribution_matrix)

Arguments

matrix_to_normalize

A matrix (m x n) with m samples as rows, and n features as columns.

target_distribution_matrix

matrix (m2 x n) with m2 samples as rows, and n features as columns to use as the target distribution.

Value

A normalized matrix

References

Franks JM, Cai G, Whitfield ML. Feature specific quantile normalization enables cross-platform classification of molecular subtypes using gene expression data. Bioinformatics. 2018 Jun 1;34(11):1868-1874. doi: 10.1093/bioinformatics/bty026. PMID: 29360996; PMCID: PMC5972664.

Examples

set.seed(7)
target <- matrix(rnorm(100*150, mean = 1, sd = 1), nrow = 100, ncol = 150)
test <- matrix(rnorm(30*150, mean = 2, sd = 2), nrow = 30, ncol = 150)
normalized_test <- quantileNormalizeByFeature(test, target)