Closed f6v closed 4 years ago
Hi @f6v , I just check the details of the function selectK
, and found that it uses the parameters such as nrun
that was previously set when running run_scAI
. In another word, you should first run run_scAI
by presetting a k
. If you set a larger k (e.g., k = 20, k= 30), it is ok if you only have 15 clusters. Thus you can try a relative larger K to run the analysis. The selectK
step often take a while.
Thank you for the tip @sqjin! I'm almost there, I had just one error in the end:
Error in labs(title = feature.name) : object 'feature.name' not found
Calls: selectK -> labs -> list2
I can see feature.name
referenced here, but where does it come from?
Hi @f6v , it is a bug. I just deleted labs(title = feature.name)
. You can re-install the package to fix the issue. Thanks!
Thanks a lot! I can run selectK
now.
I'd appreciate if you could help me out with running
selectK
. Here's my code:It fails with following:
I guess I'm doing something wrong, but I didn't find an example for selecting
k
, maybe you could point me to it? Also I had to addscAI_outs@options$paras$nrun <- 5
, otherwise it fails when referencingnrun
somewhere in the library.Thanks in advance!