seurat-disk icon indicating copy to clipboard operation
seurat-disk copied to clipboard

Error while using WriteH5Group() function

Open SaranjeetKaur opened this issue 3 years ago • 0 comments

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?

SaranjeetKaur avatar Oct 08 '21 12:10 SaranjeetKaur