Question: how to calculate correlation between 2 groups?
Answer: The between-group correlation is obtained by averaging the x and y values for each group across the 200 points (leading to a scatterplot where each group is replaced by the average of the corresponding x and y), and then computing r across the 104 patients.