CorTri: Correlate columns of data frame

Description Usage Arguments Value

View source: R/marker_based.R

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

1
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


BisqueRNA documentation built on May 24, 2021, 1:06 a.m.