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

LoomR tutorial doesn't seem to work. #60

Open
alexandruioanvoda opened this issue Mar 28, 2020 · 4 comments
Open

LoomR tutorial doesn't seem to work. #60

alexandruioanvoda opened this issue Mar 28, 2020 · 4 comments

Comments

@alexandruioanvoda
Copy link

Hi! Hope this finds you well!

Is the LoomR tutorial not up-to-date anymore? Had a bug right in the tutorial: https://satijalab.org/loomR/loomR_tutorial.html

> library(loomR)
Loading required package: R6
Loading required package: hdf5r
> library(Seurat)
> hca <- connect(filename = "cc95ff89-2e68-4a08-a234-480eca21ce79.homo_sapiens.loom", mode = "r+")
> NormalizeData(object = hca, chunk.size = 1000, scale.factor = 10000, display.progress = TRUE)
Warning: The following arguments are not used: chunk.size, display.progress
Suggested parameter: verbose instead of display.progress

Error in as(object = data, Class = "dgCMatrix") :
   no method or default for coercing “loom” to “dgCMatrix”

I'm essentially just trying to process/analyze the Human Cell Atlas Immune Census data (the file is here: https://data.humancellatlas.org/project-assets/project-matrices/cc95ff89-2e68-4a08-a234-480eca21ce79.homo_sapiens.loom), so if you've got any alternative tutorial for that, I'd welcome any help!

@TheCatalyticMicroChip
Copy link

@alexandruioanvoda please let me know if you managed to work your way around this

@alexandruioanvoda
Copy link
Author

@MzwaneleN I have not, is there any new/updated tutorial?

@TheCatalyticMicroChip
Copy link

@alexandruioanvoda unfortunately it's still the same tutorial

@danaschwalbe
Copy link

Hi! Before trying the NormalizeData() function, you should try the following:

hca<-as.Seurat(hca,cells="CellID",features="Gene")

this will make the loom file a seurat object. The connect() function simply loads the loom file into R. Hope this helps!

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

3 participants