taowenmicro / ggClusterNet

Microbial ecological network visualization clustering
100 stars 45 forks source link

Error in as.network(x, directed = directed, hyper = hyper, loops = loops, : argument "x" is missing, with no default #11

Open JBL05 opened 2 years ago

JBL05 commented 2 years ago

Hi Wentao,

The issue occurred when I attempted to run the analysis using the dataset already included in the package. Could you help me figure out where the problem is?

code:

data("ps16s") path = "./result_micro_200/" dir.create(path)

result = network(ps = ps16s, N = 200, layout_net = "model_Gephi.2", r.threshold=0.6, p.threshold=0.05, label = FALSE, path = path, zipi = TRUE)

issue: Error in as.network(x, directed = directed, hyper = hyper, loops = loops, : argument "x" is missing, with no default

Best, JBL