rcor: rcorr to compute correlation coefficient among columns.

Description Usage Arguments Details Value

View source: R/aheatmap.R

Description

Missing values are deleted in pairs rather than deleting all rows of x having any missing variables.

Usage

1
rcor(mat, method = "pearson")

Arguments

mat

a matrix

method

"pearson","spearman"

Details

rcorr requires at least 5 rows. So when nrow<5, use cor function.

Value

correlation matrix


nickytong/GenAnalysis documentation built on July 20, 2019, 8:57 a.m.