cocoatree.deconvolution.extract_principal_components

cocoatree.deconvolution.extract_principal_components(coevo_matrix)[source]

Perform principal component decomposition of a coevolution matrix

Arguments

coevo_matrixnp.ndarray

coevolution matrix

Returns

principal_componentsnp.ndarray (n_pos, n_pos)

Principal components obtained from the PCA of the coevolution matrix

Examples using cocoatree.deconvolution.extract_principal_components

Perform full SCA analysis on the S1A serine protease dataset

Perform full SCA analysis on the S1A serine protease dataset