View source: R/utility_functions.R
qNorm | R Documentation |
Performs quantile normalization of 2 vectors (Hicks 2014).
qNorm(x, y, genes = NULL, flag.top.n = 15)
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. |
data.frame of quantile normalized values.
Nicholas Mikolajewicz
# 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.