cocoatree.deconvolution.substract_first_principal_component¶
- cocoatree.deconvolution.substract_first_principal_component(coevo_matrix)[source]¶
Remove global correlations
In the sector literature (and data analysis), this corresponds to removing global correlations (from e.g. phylogenetic effects)
Arguments¶
- coevo_matrixnp.ndarray (n_pos, n_pos),
coevolution matrix
Returns¶
- coevo_matrix_subnp.ndarray (n_pos, n_pos),
coevolution matrix without global correlations
Examples using cocoatree.deconvolution.substract_first_principal_component
¶

Perform full SCA analysis on the S1A serine protease dataset
Perform full SCA analysis on the S1A serine protease dataset