CRI-iAtlas / ImmuneSubtypeClassifier

An R package for classification of immune subtypes, in cancer, using gene expression data.
Other
40 stars 23 forks source link

Run with one sample #17

Open 3d7l opened 9 months ago

3d7l commented 9 months ago

When I run the classifier with one sample, I get error below:

Error in `rownames<-`(`*tmp*`, value = ebpp_genes_sig$Symbol) : 
  attempt to set 'rownames' on an object with no dimensions
Calls: capture.output ... withCallingHandlers -> <Anonymous> -> geneMatch -> rownames<-
Execution halted

With two samples, it works smoothly.

Gibbsdavidl commented 9 months ago

Thanks for letting me know! I'm in the process of updating the xgboost library, and I can probably get this fixed too.