This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Pearson correlation matrix heat map. The different colors represent Pearson correlation coefficients, and the diverse circle sizes represent P value.

How do I generate Pearson correlation matrix heat map as bubble plot where the different colors represent Pearson correlation coefficients, and the diverse circle sizes represent P value. I am attaching an example: enter image description here

bubble r plot correlation

corrplot(matrix, method = 'circle')

1 answer

You can use R corrgram package, although I suspect the figure you attached was done using ComplexHeatmap (See an example here near the end).

EDIT: ggcorrplot is what you are looking for probably

Log in to answer this question.