kkang7 / CDSeq_R_Package

CDSeq R Package
17 stars 10 forks source link

Error in `contrasts<-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) #26

Open troysgit opened 1 year ago

troysgit commented 1 year ago

I am unable to get to the bottom of this error when attempting to run 'cellTypeAssignSCRNA()' without a reference set.

Error in `contrasts<-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) : 
  contrasts can be applied only to factors with 2 or more levels

It prints to the console just after

running Harmony..

so I think it is occurring somewhere between lines 385 and 412 in file 'cellTypeAssignSCRNA.R'.

EliOsorio25 commented 1 year ago

I am having the same problem. Did you figure out how to solve it?