Entering edit mode

2.2 years ago

mropri
▴
150

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

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