Learn R Programming

rliger (version 1.0.1)

restoreOnlineLiger: 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)

Value

liger object with restored links.

Arguments

object

liger object.

file.path

List of paths to hdf5 files.

Examples

Run this code
if (FALSE) {
# 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"))
}

Run the code above in your browser using DataLab