Skip to content
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

optimizeLSI for scRNA-seq gives Error in if (n < 0L) max(length(x) + n, 0L) else min(n, length(x)) : #10

Open
CSBioAzim opened this issue Feb 2, 2020 · 0 comments

Comments

@CSBioAzim
Copy link

Hi,
I've tried to run scRNA_01_Clustering_UMAP_v1.R using default parameters, and the
"scRNA-All-Hematopoiesis-MPAL-191120.rds" as input. When I do run the
#Optimize LSI Features
lsiObj <- optimizeLSI(assay(se),
resolution = resolution,
pcsUse = nPCs,
varFeatures = nTop)

it gives error after LSI 1 finished
Number of communities: 38
Elapsed time: 188 seconds
Additional LSI 2...
Error in if (n < 0L) max(length(x) + n, 0L) else min(n, length(x)) :
missing value where TRUE/FALSE needed

Anyone has faced with this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant