Entering edit mode
13 months ago
JACKY
▴
160
How can I read and view h5ad files in R? I tried the Seurat
package but I see no function that can read such files. I found another package called SeuratDisk
but it's confusing.
Say I have a file called GSE123456.h5ad
, how do I read it?
The reason I said its confusing is because I got errors. So for the code you provided here is the result :
Any idea what this error is ? thank you!
Where did you get the initial h5ad file from? Are you sure it is not corrupt?
It's not corrupt because when I tried reading it with python it worked:
And I can access, for example, the number of genes and the number of observations :
are you using seurat
v5
? Do you get the error if you setoptions(Seurat.object.assay.version = "v3")?