setMask: Set mask to only the probes specified

View source: R/mask.R

setMaskR Documentation

Set mask to only the probes specified

Description

Set mask to only the probes specified

Usage

setMask(sdf, probes)

Arguments

sdf

a SigDF

probes

a vector of probe IDs or a logical vector with TRUE representing masked probes

Value

a SigDF with added mask

Examples

sdf <- sesameDataGet('EPIC.1.SigDF')
sum(sdf$mask)
sum(setMask(sdf, "cg14959801")$mask)
sum(setMask(sdf, c("cg14057072", "cg22344912"))$mask)

zwdzwd/sesame documentation built on Dec. 21, 2024, 1:20 p.m.