bioneuralnet.metrics.correlation

Functions

compute_cluster_correlation_from_df(...)

Compute the Pearson correlation coefficient between PC1 of a cluster and phenotype.

compute_correlation(predictions, targets)

Compute the Pearson correlation coefficient between predictions and targets.

convert_louvain_to_adjacency(louvain_cluster)