Hi,
I am having gene expression dataset that are strongly positive and negatively correlated with each other.
I am using the function calculate.correlation() to obtain the bidirectional rho values. However, I am obtaining the absolute rho values in the output.
Hi, I am having gene expression dataset that are strongly positive and negatively correlated with each other. I am using the function calculate.correlation() to obtain the bidirectional rho values. However, I am obtaining the absolute rho values in the output.
Following is the code I am using for correlation:
MEGENA::calculate.correlation(CTF_normalized_M, doPerm = 100, is.signed = TRUE)
But If I run the normal correlation function
cor()
on the same dataset it returns the R values with its direction (-/+).I am not able to understand why MEGENA gives only absolute values, is there any way to circumvent it?
Any suggestions or comments on this issue will be deeply appreciated!
Thank you very much in advance!