You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When training a model, I have encountered the following error:
Error in `.rowNamesDF<-`(x, value = value) :
duplicate 'row.names' are not allowed
Calls: print ... row.names<- -> row.names<-.data.frame -> .rowNamesDF<-
This comes after the training step has finished. However, I've double-checked and the row names (cell ids) are definitely not duplicated. Could you please have a look at that problem? Thanks a lot!
Best regards,
Andrey
The text was updated successfully, but these errors were encountered:
this issue is probably related to the cross validation step. Are there cell types with a few cells? If that's the case, some the the folds may be empty when splitting the data for model assessment. A workaround could be reducing the number of resamples via the number parameter.
I'm seeing a similar error, and went through the 'get probabilities' function step by step to find that the probabilities table for one of the classes is 1. Full of NAs and 2. Has duplicate barcodes:
Right before probs <- Reduce(function(x, y) merge(x, y, by = "barcode"), probs) is used these are the dimensions of my list of probability tables:
And looking at that singular entry with extra entries:
What's interesting is that the overall summary table with ROC/Specificity/Sensitivity reports that the model performs well for that class:
I solved this issue by using a different model (mda) instead of svmRadial, and the probability table no longer had multiple entries from the same barcode and I was able to retrieve the probability table as expected.
Hello @joseah,
When training a model, I have encountered the following error:
This comes after the training step has finished. However, I've double-checked and the row names (cell ids) are definitely not duplicated. Could you please have a look at that problem? Thanks a lot!
Best regards,
Andrey
The text was updated successfully, but these errors were encountered: