export_methrix: Converts an 'scMethrix' object to methrix object

Description Usage Arguments Details Value Examples

View source: R/scMethrix_export.R

Description

Converts an scMethrix object to methrix object

Usage

1
export_methrix(scm = NULL, h5_dir = NULL)

Arguments

scm

scMethrix; the single cell methylation experiment

h5_dir

Location to save the methrix H5 file

Details

Removes extra slot data from an scMethrix object and changes structure to match methrix format. A 'counts' assay for coverage values must be present. Functionality not supported by methrix (e.g. reduced dimensionality) will be discarded.

Value

a methrix object

Examples

1
2
data('scMethrix_data')
# convert_to_methrix(scMethrix_data)

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