Description: This GenePattern module calculates the correlation matrix from a GCT file using the specified correlation method and dimension.
Authors: Edwin Huang, Aditya Kakarla, Razeen Khan
Contact: Forum Link
This module computes the correlation matrix of a given GCT file. It supports Pearson, Spearman, and Kendall correlation methods and can compute correlations between either columns or rows of the input data. The module uses the genepattern-python library to read and write GCT files, making it compatible with GenePattern's standard file formats. Users can specify the input GCT file, the correlation method, and the dimension (rows or columns) to analyze, and the module outputs the resulting correlation matrix in GCT format.
Name | Description | Default Value |
---|---|---|
input * | Input GCT file path | |
method | Correlation method: 'pearson', 'spearman', or 'kendall' | pearson |
dimension | Dimension to correlate: 'column' or 'row' | column |
output * | Output GCT file name | input filename |
* required
- input
A GCT file containing the data for which to compute the correlation matrix. The GCT file should be in the standard GenePattern GCT format, with rows representing genes and columns representing samples (or vice versa, depending on the analysis). This file is read using the genepattern-python library.
- <input_basename>_corr.gct
The correlation matrix in GCT format. If the dimension is set to "column", this file contains correlations between columns of the input data; if set to "row", it contains correlations between rows. Default file name is derived from the name of the input file.
Input:
example_input.gct
Output:
example_output.gct
CorrelationMatrix
is distributed under a modified BSD license available at https://github.com/genepattern/CorrelationMatrix/blob/develop/LICENSE
Version | Release Date | Description |
---|---|---|
1 | 2/26/2025 | Initial version of the module. |