correlation coefficient and p value_bicor function_cor.test
0
0
Entering edit mode
tg369 ▴ 40
@tg369-13587
Last seen 10 months ago
United Kingdom

I want to calculate correlation co-efficient and pvalue by correlating colum 1 (in matrix1) to column 1 (in matrix 2); column 2 in (matrix 1) to column 2 (in matrix 2) and like wise for other column. But DO NOT want to generate a correlation matrix where correlating each column in matrix 1 with all other column in matrix 2. Assume that each matrix have dimension 3(row)*6000(column) and I want to perform batch calculation.

Please could you help me how can I do that by using bicorAndPvalue or cor.test functions for that purpose.

I have prepared dummy data: matrix1, matrix2 and expected output format (https://www.dropbox.com/sh/dutomppe4yjur9r/AAASBbt_gmf5v3Gq9YYIF5FTa?dl=0)

Many thanks in advance.

cor or bicor function from WGCNA • 605 views
ADD COMMENT

Login before adding your answer.

Traffic: 732 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