qNorm.Rd
Performs quantile normalization of 2 vectors (Hicks 2014).
qNorm(x, y, genes = NULL, flag.top.n = 15)
Numeric vector.
Numeric vector.
Character vector of gene names. Used to label entries in data.frame output.
Numeric indicating top n genes to flag in data.frame output. Default is 15.
data.frame of quantile normalized values.
# quantile normalization
x.s1 <- getConnectivity(s.1, gene.names = colnames(a.1))$wi
#> Error in is.data.frame(x): object 'a.1' not found
y.s2 <- getConnectivity(s.2, gene.names = colnames(a.2))$wi
#> Error in is.data.frame(x): object 'a.2' not found
df.xy.s <- qNorm(x.s1, y.s2, genes = colnames(a.1))
#> Error in stopifnot(length(x) == length(y)): object 'x.s1' not found