save_HDF5_scMethrix: Saves an HDF5 'scMethrix' object

Description Usage Arguments Details Value Examples

View source: R/scmethrix_operations.R

Description

Saves an HDF5 scMethrix object

Usage

1
2
3
4
5
6
7
save_HDF5_scMethrix(
  scm = NULL,
  h5_dir = NULL,
  replace = FALSE,
  verbose = TRUE,
  ...
)

Arguments

scm

scMethrix; the single cell methylation experiment

h5_dir

string; The directory to use. Will be created if it does not exist. Default = NULL

replace

Should it overwrite the pre-existing data? FALSE by default.

verbose

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

...

Parameters to pass to saveHDF5SummarizedExperiment

Details

Takes scMethrix object and saves it in the specified directory

Value

Nothing

Examples

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

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