How to compare coexpression networks from two conditions with different sample sizes
0
0
Entering edit mode
23 months ago

I have gene expression data from two conditions having different sample sizes i.e 8 and 32. I want to build a correlation among all genes (for both conditions) for comparison. So, I used "psych" package from "R" which use t-test based statistics for p-adjusted values calculations.

Is this approach correct for the comparison of the networks (after taking significant p-adjust) between two experiments of different sample sizes?

or should I use another approach for p-adjusted calculations? If yes, what would you suggest?

correlation coexpression rna-seq gene networks • 572 views
ADD COMMENT
1
Entering edit mode

Ciao / buonasera, what are you testing with your psyche t-test? I would create the correlation networks separately, and then compare (between the network for each condition) metrics such as vertex degree, hub score, community structure, etc. A simple pipeline, here: Network plot from expression data in R using igraph

ADD REPLY
0
Entering edit mode

Ciao I am not exactly comparing networks. but want to compare interactions of particular set of genes (of my interest) with others (if any), above certain threshold of correlation . whether interacting genes are mostly the same or different in both condition. since sample size is different between conditions, so can I directly compare or not? if, no How I can justify this comparison.

ADD REPLY
0
Entering edit mode

You want to correlate certain genes in one condition with those in the other condition?

ADD REPLY
0
Entering edit mode

Yes, how can I go about this?

ADD REPLY
0
Entering edit mode

You can correlate together where the dimensions are the same, i.e., on the genes. So, probably:

cor(t(x), t(y))

My preferred way would still be to produce a correlation network using all genes and separately for each condition, and then compare your genes based on vertex degree, hub score, and community structure.

ADD REPLY
0
Entering edit mode

How do you calculate significance ( p-adjusted values) for correlation?

ADD REPLY
1
Entering edit mode

There is a cor.test() function, which functions in the same way as the cor() function. After you derive your p-values, you can then adjust for false discovery with p.adjust()

ADD REPLY
0
Entering edit mode

Thank you, it seems the way "psych" calculated p.adjust is similar.

ADD REPLY
0
Entering edit mode

@kevin Blighe, could please give some more information on these vertex degree, hub score, and community structure? I am just doing correlation for two different conductions with the same number and type of genes and would like to understand how they can help me to compare my correlation matrixes Thank you!

ADD REPLY
1
Entering edit mode

Hi, have you searched the igraph documentation?

ADD REPLY

Login before adding your answer.

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