export_bsseq: Convert 'scMethrix' to 'bsseq' object

Description Usage Arguments Details Value Examples

View source: R/scMethrix_export.R

Description

Convert scMethrix to bsseq object

Usage

1
export_bsseq(scm, m_assay = "score", c_assay = "counts", path = NULL)

Arguments

scm

methrix object

m_assay

matrix; the assay containing methylation scores

c_assay

matrix; the assay containing count scores

path

string; the path of the export directory

Details

Takes scMethrix object and returns a bsseq object.

Value

An object of class bsseq

Examples

1
2
3
4
5
## Not run: 
data('scMethrix_data')
export_bsseq(scMethrix_data)

## End(Not run)

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