maskMethNA-DsNOMe-method: maskMethNA-methods

maskMethNA,DsNOMe-methodR Documentation

maskMethNA-methods

Description

Set the indices specified in a mask to NA

Usage

## S4 method for signature 'DsNOMe'
maskMethNA(.object, mask, type = "sites", reaggregate = TRUE)

Arguments

.object

DsNOMe object

mask

a mask, i.e. a logical matrix of indices to set to NA

type

character string specifying a name for the region type (default: sites)

reaggregate

redo region aggregation (only has an effect if type is sites and there are aggregated regions in the dataset)

Value

a new DsNOMe object with sites/regions masked

Author(s)

Fabian Mueller


GreenleafLab/ChrAccR documentation built on March 22, 2023, 11:42 p.m.