restoreOnlineLiger: Restore links (to hdf5 files) for reloaded online Liger...

View source: R/rliger.R

restoreOnlineLigerR Documentation

Restore links (to hdf5 files) for reloaded online Liger object

Description

When loading the saved online Liger object in a new R session, the links to hdf5 files may be corrupted. This functions enables the restoration of those links so that new analyses can be carried out.

Usage

restoreOnlineLiger(object, file.path = NULL)

Arguments

object

liger object.

file.path

List of paths to hdf5 files.

Value

liger object with restored links.

Examples

## Not run: 
# We want to restore the ligerex (liger object based on HDF5 files)
# It has broken connections to HDF5 files
# Call the following function and provide the paths to the correspoinding files
ligerex = restoreOnlineLiger(ligerex, file.path = list("path1/library1.h5", "path2/library2.h5"))

## End(Not run)

rliger documentation built on Nov. 9, 2023, 1:07 a.m.