bm2-lab / scLearn

scLearn:Learning for single cell assignment
34 stars 8 forks source link

run into error when performing cell assignment codes #7

Closed whateverxzy closed 3 years ago

whateverxzy commented 3 years ago

Dear authors, When I ran this code"scLearn_predict_result<-scLearn_cell_assignment(scLearn_model_learning_result,data_qc_query$expression_profile,diff=0.05,threshold_use=TRUE,vote_rate=0.6)", there was a error: Error in scLearn_cell_assignment(scLearn_model_learning_result, data_qc_query$expression_profile, : 参数没有用(threshold_use = TRUE). Even if I changed the value of threshold_use to FALSE, it still has problem. Can you explain to me that why this happenen? Thank you for your time.

BinDuan commented 3 years ago

Dear authors, When I ran this code"scLearn_predict_result<-scLearn_cell_assignment(scLearn_model_learning_result,data_qc_query$expression_profile,diff=0.05,threshold_use=TRUE,vote_rate=0.6)", there was a error: Error in scLearn_cell_assignment(scLearn_model_learning_result, data_qc_query$expression_profile, : 参数没有用(threshold_use = TRUE). Even if I changed the value of threshold_use to FALSE, it still has problem. Can you explain to me that why this happenen? Thank you for your time.

I guess you installed scLearn a few weeks before. We made some updates before, including add some parameters, so please reinstall scLearn, then this error won't happen. Sorry for the inconvenience.