Open iadamo1 opened 5 years ago
Hi. I am facing the same error. I would appreciate it if you could let us know how to fix it. Regards Farzad
Hi, just run again the pairwise_correlations.R and once the function is defined it will work! very simple in the end!
Hi, just run again the pairwise_correlations.R and once the function is defined it will work! very simple in the end!
Can you share your code? I am trying to get the pairwise_correlations but it is not working. Are you supposed to run the network_analysis.R first then the pairwise_correlations.R. I am confused....the code does not go into details.
I don't know if you still need this, but I got the same error and got to resolve it by deleting the content of the first cell on my table
My table looked like this:
OTU | 35 | 36 | 37 | 38 | 39 |
---|---|---|---|---|---|
1 | 2662 | 1758 | 29988 | 39457 | 10562 |
2 | 54163 | 59711 | 32443 | 41438 | 11348 |
While it should normally looklike this:
35 | 36 | 37 | 38 | 39 | |
---|---|---|---|---|---|
1 | 2662 | 1758 | 29988 | 39457 | 10562 |
2 | 54163 | 59711 | 32443 | 41438 | 11348 |
Hope it helps
Hi,
thanks a lot for this complete scripts! I am actually trying to run the script with your example data but in pattern<-co_occurrence_network(Abu,0.6,0.01) I get this error:
Error in
V<-
(*tmp*
, value =*vtmp*
) : invalid indexingCould it be because the variables in NW.txt at one point are called New.referenceOTU? can I ask you what New.referenceOTU is for?
thanks a lot!