prefixMask: Mask SigDF by probe ID prefix

View source: R/mask.R

prefixMaskR Documentation

Mask SigDF by probe ID prefix

Description

Mask SigDF by probe ID prefix

Usage

prefixMask(sdf, prefixes = NULL, invert = FALSE)

Arguments

sdf

SigDF

prefixes

prefix characters

invert

use the complement set

Value

SigDF

Examples

sdf <- resetMask(sesameDataGet("MM285.1.SigDF"))
sum(prefixMask(sdf, c("ctl","rs"))$mask)
sum(prefixMask(sdf, c("ctl"))$mask)
sum(prefixMask(sdf, c("ctl","rs","ch"))$mask)

zwdzwd/sesame documentation built on Nov. 11, 2024, 9:33 a.m.