rli012 / GDCRNATools

GDCRNATools: an R/Bioconductor package for integrative analysis of lncRNA, miRNA and mRNA data in GDC
Apache License 2.0
67 stars 41 forks source link

gdcSurvivalAnalysis : Error in round(cox$wald.test, 2) : non-numeric argument to mathematical function #12

Open IL2liu opened 4 years ago

IL2liu commented 4 years ago

I am using the following code to do survival analysis of genes In TCGA BRCA cohort:

survOutput <- gdcSurvivalAnalysis(gene     = rownames(deALL), 
                                  method   = 'coxph', 
                                  rna.expr = rnaExpr, 
                                  metadata = metaMatrix.RNA)

I got the following error message:

Error in round(cox$wald.test, 2) : non-numeric argument to mathematical function

and I can't figure out this problem, Thank you in advance for any suggestions.