New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FindIntegrationAnchors error: Error in idx[i, ] <- res[[i]][[1]] #4803
Comments
I also want to add that I tried integrating this tiny dataset with five other much larger datasets (the next smallest of the five has around 1500 cells, and the largest has around 47k cells), and I think it is definitely the size of the dataset that is the issue and not the normalization, because when I removed this tiny 549 cell dataset, I was able to integrate the other 5 together (despite one of the 5 being FPKM normalized, but being larger at around 1700 cells). When I kept the tiny 549 cell dataset in, I still get the same error as mentioned above. |
hi @ksaunders73 |
Hello @yuhanH! This worked to get the FindIntegrationAnchors() working, but I get the error from #3930 with IntegrateData(), and it seems lowering the k.filter method doesn't work anymore. I did since my question increase the sample size cutoff to no less than 50 cells (whereas before there were samples between 30-50 cells in them). I haven't been getting the error since making the no less than 50 cutoff, so maybe the error was occurring because some samples only had like 30 cells or 11 cells? |
Hi @ksaunders73 |
Thank you very much for your help @yuhanH ! |
Hi, a further question can be: although i know the object has too few cells, and it violates many assumptions in integration framework, then how should i address it? Step 1 has been finished, but step 2 runs into Error like mentioned above. Thanks for your time. |
Hi, @BridgeLeeH |
I'm piggy-backing off of #3930. I got the error they got, except when running FindIntegrationAnchors().
My dataset is very small (549 cells) and also TPM normalized, so I have a feeling that has something to do with it:
I tried setting the k.anchor and k.filter to 10 (smaller than the smallest sample of 11), and the warning goes away, but the error remains
Thanks for reading!
The text was updated successfully, but these errors were encountered: