qNorm: Quantile Normalization of 2 Vectors

View source: R/utility_functions.R

qNormR Documentation

Quantile Normalization of 2 Vectors

Description

Performs quantile normalization of 2 vectors (Hicks 2014).

Usage

qNorm(x, y, genes = NULL, flag.top.n = 15)

Arguments

x

Numeric vector.

y

Numeric vector.

genes

Character vector of gene names. Used to label entries in data.frame output.

flag.top.n

Numeric indicating top n genes to flag in data.frame output. Default is 15.

Value

data.frame of quantile normalized values.

Author(s)

Nicholas Mikolajewicz

Examples


# quantile normalization
x.s1 <- getConnectivity(s.1, gene.names = colnames(a.1))$wi
y.s2 <- getConnectivity(s.2, gene.names = colnames(a.2))$wi
df.xy.s <- qNorm(x.s1, y.s2, genes = colnames(a.1))


NMikolajewicz/scMiko documentation built on June 28, 2023, 1:41 p.m.