mask_helper: Helper function for masking. All rows in row_idx will be set...

Description Usage Arguments Details Value

Description

Helper function for masking. All rows in row_idx will be set to NA.

Usage

1
mask_helper(scm, row_idx, verbose = TRUE)

Arguments

scm

scMethrix; the single cell methylation experiment

row_idx

numeric; A vector of row indexes for which to replace with NA

verbose

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

Details

Used with mask_by_sample, mask_by_coverage, and mask_by_variance. It iterates through all assays in the inputted scMethrix object and replaces all rows in row_idx with NA.

Value

An object of class scMethrix


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