correlation_matrix(matrix=None,
labels=None,
file=None,
dir=None,
force=False)
| source code
|
Gnuplot plotting function for representing correlation matrices.
- Parameters:
matrix (numpy rank-2 array.) - The correlation matrix. This must be a square matrix.
labels (list of str) - The labels for each element of the matrix. The same label is
assumed for each [i, i] pair in the matrix.
file (str) - The name of the file to create.
dir (str or None) - The directory where the PDB file will be placed. If set to None,
then the file will be placed in the current directory.
|