How can I calculate and compare intra-cluster correlation for each GO term and pathway?
I want for all the genes, which belong to the same GO-term, calculate a similarity score. Each GO term can be considered as a cluster. How do I calculate correlation of the time series trajectories for a group consisting of more than 2 genes? In other words, how can I calculate the correlation within a gene cluster? Which clustering algorithm should I use to infer gene function from time series trajectory similarities? Please provide long preferentially to Python code.