bacteria=read.table("bacteria2.csv", row.names=1, header=T, sep="\t")
parameter=read.table("para3.csv", row.names=1, header=T, sep="\t")
result_pair=data.frame(print(corr.test(x=bacteria,y=parameter,use="pairwise", method="spearman", adjust="fdr", alpha=.05, ci=TRUE, minlength=10), short=FALSE))
Error in cor(x, y, use = use, method = method) :
both 'x' and 'y' must be non-empty
head(result_pair)
Error in head(result_pair) : 找不到对象'result_pair'
现在是代码问题 还是我的数据问题