rowname is ENTREZID and all column is sample's expression value (raw count).
and Error message is :
20 samples with class or batch NA's excluded
Error in round(as.verctor(x)) :
non-numeric argument to mathematical function
When using str(COLOM), all variables are numeric.
If there is a variable, not a numeric, I think that CMScaller should not work either.
I don't know what the problem is.
Indeed, CMSgsa worked well before updating R.
Considering error message, it seems not to be a version problem, is there any way to solve it?
Hi. I get error in CMSgsa. CMScaller works well, but CMSgsa doesn't.
My code is : COLOM <- COLOM[!duplicated(COLOM$ENTREZID),] rownames(COLOM)<-COLOM$ENTREZID COLOM<-COLOM[, -ncol(COLOM)] res<-CMScaller(emat = COLOM, RNAseq = T, FDR = 0.05) cam <- CMSgsa(emat = COLOM, class=res$prediction, RNAseq = T)
rowname is ENTREZID and all column is sample's expression value (raw count).
and Error message is : 20 samples with class or batch NA's excluded Error in round(as.verctor(x)) : non-numeric argument to mathematical function
When using str(COLOM), all variables are numeric. If there is a variable, not a numeric, I think that CMScaller should not work either. I don't know what the problem is.
Indeed, CMSgsa worked well before updating R. Considering error message, it seems not to be a version problem, is there any way to solve it?
Thanks!