This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Create a heatmap of only significant correlations

I used the corr.test function to get the correlation values between two matrices and their p adjusted values.:

test <- corr.test(x, y, method="spearman", adjust="BH")

I have the correlation in test$r and the p adjusted values in test$p.adj. The rownames and colnames of both matrices are the same

I would like to create a heatmap where I only show correlations that pass the p.adj values of <0.5. Any help is appreciated

correlation protein expression heatmap

1 answer

Look at corrplot. I think it'll address your requirements very well.

Thank you, corr plot does fill the requirements for my question.

Log in to answer this question.