RichieJu520 / Co-occurrence_Network_Analysis

R and python scripts for correlation-based network analysis
57 stars 34 forks source link

Pairwise correlations and Network analysis_Missunderstanding #3

Open mikimaus27 opened 5 years ago

mikimaus27 commented 5 years ago

Dear Dr. Ju,

Thank you very much for the complete scrips, it means a lot to me since I'm pretty new to this!

However, I have a few misunderstandings... Regarding the pairwise correlations, the first code is: co_occurrence_network<-function(matrix,cor.cutoff,p.cutoff){ but can't figure out how this matrix looks like?

Maybe this is a stupid question, but I'm pretty new to this. What I want to do is to correlate the bacterial communities with antibiotic resistance genes, but I don't know where to upload the data of relative abundance of the genes and how to merge this data with the OTU table data.

Many thanks in advance for your help, and once again, apologies for the stupid questions.

Kindest regards!

slvrshot commented 5 years ago

Dear Dr. Ju,

Thank you very much for the complete scrips, it means a lot to me since I'm pretty new to this!

However, I have a few misunderstandings... Regarding the pairwise correlations, the first code is: co_occurrence_network<-function(matrix,cor.cutoff,p.cutoff){ but can't figure out how this matrix looks like?

Maybe this is a stupid question, but I'm pretty new to this. What I want to do is to correlate the bacterial communities with antibiotic resistance genes, but I don't know where to upload the data of relative abundance of the genes and how to merge this data with the OTU table data.

Many thanks in advance for your help, and once again, apologies for the stupid questions.

Kindest regards!

Did you ever figure this out?