f.distCol.Pearson.2: Distance by correlation matrix for hierarchical clustering in...

Description Usage Arguments Details Value

View source: R/fdistColPearson.R

Description

Compute a matrix of distances based on Pearson's correlation.

Usage

1
f.distCol.Pearson.2(x, method = "pearson")

Arguments

x

A matrix of expression values

method

Defults to "pearson". Can also be "kendall", "spearman".

Details

Distance is defined as dist = 1 - correlation coeficient. Note that it transposes the input matrix in order to be able to use it for hierarchical clustering in heat map creation.

Value

Pearson correlation based distance object


msxakk89/dat documentation built on Aug. 3, 2020, 6:39 p.m.