correlation | R Documentation |
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'.
correlation(data, path = NULL, method = "pearson", outputpath)
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. |
Returns no value direct to R. This function saves the correlation network as correlationNetwork.csv on the path specified by 'outputpath'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.