remove_assay: Removes an assay from an 'scMethrix' object

Description Usage Arguments Details Value Examples

View source: R/scmethrix_operations.R

Description

Removes an assay from an scMethrix object

Usage

1
remove_assay(scm = NULL, assay = NULL)

Arguments

scm

scMethrix; the single cell methylation experiment

assay

string; name of an existing assay. Default = "score"

Details

This will remove an assay from the scMethrix experiment object. All transformed assays may be removed, as well as the coverage assay (since it is less useful when compared to normal WGBS data), but the score assay cannot be removed. Reduced dimensionality data will be retained even if the parent assay is removed.

Value

An scMethrix object

Examples

1
2
data('scMethrix_data')
remove_assay(scMethrix_data,assay="counts")

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