Displaying 1 result from an estimated 1 matches for "mat_cor".
Did you mean:
macor
2010 Apr 30
0
extracting pairs from correlation matrix and p-value matrix
...x of dimension 20000x700 say 'mat'. I
have calculated pearson correlation for the rows of the matrix and
their p-values using rcorr function in library Hmisc. Now I wish to
filter out those pairs who's PCC value is above 0.8 cut off and
p-value is less than 0.05.
>library(Hmisc)
>mat_cor=rcorr(t(mat),type="pearson")
>head(mat_cor)
aaeA_b3241_14 aaeB_b3240_15 aaeR_b3243_15 aaeX_b3242_12
aas_b2836_14 aat_b0885_14 abgA_b1338_14 abgB_b1337_15 abgR_b1339_15
abgT_b1336_15
aaeA_b3241_14 1.00 0.12 0.64 0.21
0.10 -...