if((pValue <pFilter)&(coxP <pFilter)&(fiveYearsDiff>):缺少需要TRUE / FALSE的值时发生错误

时间:2019-10-27 14:23:03

标签: r

if((pValue<pFilter) & (coxP<pFilter) & (fiveYearsDiff>0.15)){
         sigGenes=c(sigGenes,gene)
         outTab=rbind(outTab, 
                      cbind(gene=gene,
                            KM=pValue,
                            HR=coxSummary$conf.int[,"exp(coef)"],
                            HR.95L=coxSummary$conf.int[,"lower .95"],
                            HR.95H=coxSummary$conf.int[,"upper .95"],
                            coxPvalue=coxP) )
       }
}

我收到此错误消息:

Error in if ((pValue < pFilter) & (coxP < pFilter) & (fiveYearsDiff >  : 
  missing value where TRUE/FALSE needed

请告诉我如何解决此问题,谢谢!enter code here

0 个答案:

没有答案