Environ.principal_components() — clustering

principal_components(matrix_file, file)
This command calculates principal components clustering for the input matrix of pairwise distances. This matrix must be in the PHYLIP format and can be produced by the Alignment.id_table(), Alignment.compare_sequences(), or Alignment.compare_structures() commands.

The projected coordinates $p$ and $q$ are written to file file. The output file can be used with ASGL to produce a principal components plot.

This command is useful for deciding about which known 3D structures are to be used as templates for comparative modeling.

Example: See Alignment.id_table() command.