gene expression anti-correlation data?
0
1
Entering edit mode
6.2 years ago
fuellen ▴ 20

Hello, I'd like to know, for a set of tissues if possible, whether two genes are anti-correlated (gene A up implying gene B down and vice versa), in NGS datasets and, more generally, in any gene expression datasets. While there are plenty of tools for coexpression (correlation both ways, or just positive correlation), I could not find anything that is anti-correlation only Thanks a lot!

gene expression • 2.2k views
ADD COMMENT
1
Entering edit mode

Just find the correlation among the genes of interest and if its negative it means they are anti-correlated. Assuming you are using R, you can use the cor function which would return you a g*g matrix where g are the number of genes. Now if there is strong anticorrelation. then you can keep a threshold lets say -0.5 and anything below it gives you the gene pairs. Below is the small code snippet.

cor.df <- cor(df)
apply(cor.df, 1, function(r) which(r < threshold)
ADD REPLY

Login before adding your answer.

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