I encountered some issues when running the test code from the official website. I ran the following code:
data("otutab", package = "pcutils")
Inter-species correlation coefficients were calculated after transposition
totu <- t2(otutab[1:100, ])
cor <- c_net_calculate(totu)
net <- c_net_build(cor)
c_net_plot(net)
However, I received the following error:
Have not do p-value adjustment! use the p.value to build network.
Error in graph.adjacency.dense(adjmatrix, mode = mode, weighted = weighted, :
At vendor/cigraph/src/constructors/adjacency.c:538 : Adjacency matrix should be symmetric to produce an undirected graph. Invalid value
I encountered some issues when running the test code from the official website. I ran the following code:
data("otutab", package = "pcutils")
Inter-species correlation coefficients were calculated after transposition
totu <- t2(otutab[1:100, ])
cor <- c_net_calculate(totu) net <- c_net_build(cor) c_net_plot(net) However, I received the following error: Have not do p-value adjustment! use the p.value to build network. Error in graph.adjacency.dense(adjmatrix, mode = mode, weighted = weighted, : At vendor/cigraph/src/constructors/adjacency.c:538 : Adjacency matrix should be symmetric to produce an undirected graph. Invalid value