6.3筛选各组高丰度菌,把otu_mean.R添加到设定地址后,在rstdio中输入代码报错,有人碰到过这个问题的吗,怎么解决的呢
我的代码:Rscript otu_mean.R --input otutab.txt --design metadata.txt --group Group --thre 0 --output result/otutab_mean.txt
报错:Usage: otu_mean.R [options]
otu_mean.R: error: Error in getopt(spec = spec, opt = args) : long flag "design" is
invalid
这说明 getopt这个函数调用错了,建议调试下,看看参数是不是不对。