seurat-disk
seurat-disk copied to clipboard
Error while using WriteH5Group() function
Sharing a MWE:
install.packages("remotes")
remotes::install_github("mojaveazure/seurat-disk")
hdf5file <- hdf5r::H5File$new(filename = tempfile(fileext = '.h5'), mode = 'a')
df <- data.frame(x = c('h', 'e', 'l', 'l', 'o'), y = 1:5, stringsAsFactors = FALSE)
WriteH5Group(x = df, name = 'df', hgroup = hdf5file)
Running this code gives Error in WriteH5Group(x = df, name = "df", hgroup = hdf5file) : could not find function "WriteH5Group". Any ideas?