convert_scMethrix: Converts an in-memory 'scMethrix' to an HDF5 'scMethrix'

Description Usage Arguments Details Value Examples

View source: R/scmethrix_operations.R

Description

Converts an in-memory scMethrix to an HDF5 scMethrix

Usage

1
convert_scMethrix(scm = NULL, h5_dir = NULL, 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

verbose

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

Details

Takes a scMethrix object and returns with the same object with delayed array assay slots with HDF5 backend. Might take long time!

Value

An object of class scMethrix, HDF5 format

Examples

1
2
data('scMethrix_data')
convert_scMethrix(scMethrix_data, h5_dir=paste0(tempdir(),"/h5"))

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