correlation: Compute a Correlation Matrix

View source: R/correlation.R

correlationR Documentation

Compute a Correlation Matrix

Description

Compute a Correlation matrix from a an expression matrix and writes to a user specified path. Correlation network is saved as correlationNetwork.csv on the path specified by 'outputpath'.

Usage

correlation(data, path = NULL, method = "pearson", outputpath)

Arguments

data

The input expression/numerical data matrix

path

Optional. Currently not implemented in the function

method

Optional. The type of correlation to be implemented. Options are one of; c('pearson','spearman','kendall'). (Default = pearson)

outputpath

The file path to save the correlation network to.

Value

Returns no value direct to R. This function saves the correlation network as correlationNetwork.csv on the path specified by 'outputpath'.


Sage-Bionetworks/metanetwork documentation built on April 27, 2022, 7:42 a.m.