how to plot correlation data in R
1
0
Entering edit mode
6 weeks ago
Bioinfonext ▴ 380

Hi,

I have got spearman's correlation and P value like below in two separate files. Could anyone please suggest how I can make an input file after filtering strong, and significant correlation from these two files? I just want to take pVal<.01,abs(correlation)>.4. and How I can plot it in R?

Correlation.txt

        SB_2    SB_12   SB_17   SB_18   SB_20   SB_23   SB_26
    DMA -0.42   -0.25   -0.06   -0.32   -0.18   -0.18   -0.28
    Rice_AsV-0.67   -0.53   -0.34   -0.67   -0.36   -0.45   -0.34



 Pvalue.txt                             
        SB_2    SB_12   SB_17   SB_18   SB_20   SB_23   SB_26
    DMA 0.001   0.05    0.65    0.016   0.190   0.182   0.03
    Rice_AsV2.87E   3.60E   0.010   2.53E   0.006   0.00    0.00
Network cytoscape R • 203 views
ADD COMMENT
0
Entering edit mode
5 weeks ago

Hello,

Please take a look at corrplot in R. There is an extensive vignette: https://cran.r-project.org/web/packages/corrplot/vignettes/corrplot-intro.html

Kind regards,

Kevin

ADD COMMENT

Login before adding your answer.

Traffic: 2475 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6