Dear developers,
I am trying to read an h5ad file into R with MuData and encountered the following error:
Error in is.factor(values) && levels(values) == c("FALSE", "TRUE") :
'length = 2' in coercion to 'logical(1)'
This is my command:
library(Seurat)
library(MuData)
library(tidyverse)
fca_head <- readH5AD('s_fca_biohub_head_10x.h5ad')
I am not sure what's going wrong. This dataset can be loaded by scanpy.read_h5ad in python. I also tried to down-sample a subset of cells of this dataset in python and save a new h5ad. The down-sampled file cannot be read in R either.
The file s_fca_biohub_head_10x.h5ad is available from Fly cell atlas: https://cloud.flycellatlas.org/index.php/s/LAEybPc2HZnpzKs
Dear developers,
I am trying to read an h5ad file into R with
MuDataand encountered the following error:This is my command:
I am not sure what's going wrong. This dataset can be loaded by
scanpy.read_h5adin python. I also tried to down-sample a subset of cells of this dataset in python and save a new h5ad. The down-sampled file cannot be read in R either.The file
s_fca_biohub_head_10x.h5adis available from Fly cell atlas: https://cloud.flycellatlas.org/index.php/s/LAEybPc2HZnpzKs