-
Notifications
You must be signed in to change notification settings - Fork 11
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
Problem with selectFeatures #16
Comments
Hi, thanks for your message! I've looked into it and it seems that the error occurs here: Line 151 in d8160c7
However, if I run the inner scripts manually there is no error, i.e.:
Not sure what is going now, will need to spend more time on it. |
I will check this for the moment, thank you very much! |
Indeed, if I copy the 3 functions (selectFeatures, linearModel and ggplot_features) from this repo to my code it works fine. However, I still get the same error when running the function loaded by the package... EDIT: A similar issue happens with indexClusters. When I run the package version I get the following error: Error: Columns |
I feel the problem is that your count matrix is in sparse format:
Does it work if you just convert it to normal matrix? I haven't sorted out yet how to deal with the sparse formats... |
I also had the same issue and found the discussion here. The errors below seem to disappear when I convert the dgCMatrix to normal matrix: Error` in rowSums(count == 0) : Error in rowSums(log_count[dropouts_filter, ]) :
|
Dear scmap team,
I am trying to project my scRNA-seq dataset against the Tabula Muris droplet-based reference (which I download from here). This is my code
However, I get this error: Error in rowSums(count == 0) :
'x' must be an array of at least two dimensions
I looked for this command in your code but couldn't find it. If you could help me with this it would be very helpful. Thanks in advance for that and for your packages, they are amazing!
Best
Ramon
The text was updated successfully, but these errors were encountered: