CorTri: Correlate columns of data frame
Description
This function runs correlation between markers of a data frame or matrix,
returning the values of the lower/upper triangular of the correlation matrix
in a vector.
Usage
CorTri(x, method = "pearson")
Arguments
x
Data frame or matrix. Column vectors are correlated
method
Character string. Name of method passed to cor.
Pearson by default.
Value
cors Numeric vector. Correlation coefficients of pairs