I converted h5ad file to h5 file by using easySCFpy
adata_LEC = sc.read_h5ad("LEC.h5ad")
from easySCFpy import saveH5
saveH5(adata_LEC, "LEC.h5")
when I use loadH5 fuction to read file I have saved from easySCFpy,it will pops up error
sce.sc<- loadH5('LEC.h5')
[1] "there is assay: RNA in the h5 file"
[1] "Reading raw data..."
<simpleError in h(simpleError(msg, call)): error in evaluating the argument 'x' in selecting a method for function 't': 'dims' must contain all (i,j) pairs>
Error in loadH5("LEC.h5") :
object 'sce' not found
But when I try to read LEC.h5 in python,there is no problem
from easySCFpy import loadH5
adata_LEC=loadH5( "LEC.h5")
adata_LEC
AnnData object with n_obs × n_vars = 1311 × 51779
obs: 'Sample', 'Dataset', 'Patient', 'Class', 'SubCluster', 'MMRstatus', 'Position', 'Site', 'Grade', 'GrandparentalCluster', 'ParentalCluster', 'nCount_RNA', 'nFeature_RNA'
var: 'name'
obsm: 'X_umap'
I dont know why and I cant cope with this issue......