Bioconductor / HDF5Array

HDF5 backend for DelayedArray objects
https://bioconductor.org/packages/HDF5Array
9 stars 13 forks source link

exporting useful internal helper functions #38

Closed LiNk-NY closed 3 years ago

LiNk-NY commented 3 years ago

Hi Hervé, @hpages

Here is a list of helper functions that I use in MultiAssayExperiment that would be good to have exported for general use as internal functions. I will give this a shot with a subsequent PR.

$ grep -r "HDF5Array:::" *
exps <- HDF5Array:::.shorten_assay2h5_links(suppressWarnings(assays(x)))
exps <- HDF5Array:::.write_h5_assays(
HDF5Array:::.create_dir(dir)
HDF5Array:::.replace_dir(dir, replace)
HDF5Array:::.check_and_delete_files(rds_path, h5_path, replace)
HDF5Array:::.stop_if_bad_dir(dir, prefix)
HDF5Array:::.restore_absolute_assay2h5_links(
msg <- HDF5Array:::validate_HDF5ArraySeed_dataset(x)

Best, Marcel

hpages commented 3 years ago

Taken care of by https://github.com/Bioconductor/HDF5Array/pull/39