load_HDF5_scMethrix: Loads HDF5 'scMethrix' object

Description Usage Arguments Details Value Examples

View source: R/scmethrix_operations.R

Description

Loads HDF5 scMethrix object

Usage

1

Arguments

dir

The directory to read in from. Default NULL

verbose

boolean; Flag for outputting function status messages. Default = TRUE

...

Parameters to pass to loadHDF5SummarizedExperiment

Details

Takes directory with a previously saved HDF5Array format scMethrix object and loads it

Value

An object of class scMethrix

Examples

1
2
3
4
5
data('scMethrix_data')
dir <- paste0(tempdir(),"/h5")
scm <- convert_scMethrix(scMethrix_data, h5_dir=dir)
save_HDF5_scMethrix(scm, h5_dir = dir, replace = TRUE)
n <- load_HDF5_scMethrix(dir)

CompEpigen/scMethrix documentation built on Nov. 6, 2021, 3:09 p.m.