You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I intend to convert a h5ad file to seurat data. The code is:
library(anndataR)
adata <- read_h5ad("./adata_net_cells.h5ad", to = "Seurat")
The bug is:
Warning message in .toseurat_check_obsvar_names(obj$obs_names, "obs_names"):
“'obs_names' cannot have underscores ('_') when converting to Seurat,
replacing with dashes ('-')”
Warning message in Matrix::sparseMatrix(j = indices, p = indptr, x = data, dims = shape, :
“NAs introduced by coercion to integer range”
Warning message in value[3L]:
“Error reading element 'X' of type 'csr_matrix':
'p' must be a nondecreasing vector c(0, ...)”
And my current adata$X is null. I used the up-to-date version of anndataR. Thanks a lot.
The text was updated successfully, but these errors were encountered:
We are currently updating the Seurat conversion but it's still a work in progress #183. If you are up for testing this more you could try using the branch from the PR. It would also be helpful if you could supply a test file for this issue (a small subset of the data that causes the error would be great).
Hi, I intend to convert a h5ad file to seurat data. The code is:
library(anndataR)
adata <- read_h5ad("./adata_net_cells.h5ad", to = "Seurat")
The bug is:
Warning message in .toseurat_check_obsvar_names(obj$obs_names, "obs_names"):
“'obs_names' cannot have underscores ('_') when converting to Seurat,
replacing with dashes ('-')”
Warning message in Matrix::sparseMatrix(j = indices, p = indptr, x = data, dims = shape, :
“NAs introduced by coercion to integer range”
Warning message in value[3L]:
“Error reading element 'X' of type 'csr_matrix':
'p' must be a nondecreasing vector c(0, ...)”
And my current adata$X is null. I used the up-to-date version of anndataR. Thanks a lot.
The text was updated successfully, but these errors were encountered: