qMetacell-filter: Search lines which respects request on one or more...

qMetacell-filterR Documentation

Search lines which respects request on one or more conditions.

Description

This function looks for the lines that respect the request in either all conditions or at least one condition.

Usage

qMetacellFilteringScope()

SymFilteringOperators()

qMetacellWholeMatrix(object, cmd, pattern, percent, th, operator)

qMetacellWholeLine(object, cmd, pattern)

qMetacellOnConditions(object, cmd, mode, pattern, conds, percent, operator, th)

Arguments

object

xxx

cmd

Available values are:

pattern

ss

percent

xxx

th

The theshold to apply

operator

String for operator to use. List of operators is available with SymFilteringOperators().

mode

xxx

conds

xxx

Value

NA

NA

NA

NA

NA

NA

Examples

data(ft, package='DaparToolshed')
obj <- ft[[1]]
level <- typeOfData(ft, 1)
pattern <- "missing"
mask <- match.qMetacell(
    metadata = qMetacell(obj),
    pattern = pattern,
    level = level
)
percent <- FALSE
th <- 3
op <- ">="
ind <- qMetacellWholeMatrix(mask, op, percent, th)

data(ft, package='DaparToolshed')
obj <- ft[[1]]
mask <- match.qMetacell(
    metadata = qMetacell(obj),
    pattern = "missing POV",
    level = typeOfData(obj)
)
ind <- qMetacellWholeLine(mask)

#' data(ft, package='DaparToolshed')
obj <- ft[[1]]
mask <- match.qMetacell(
    metadata = qMetacell(obj),
    pattern = "missing",
    level = typeOfData(obj)
)
type <- "AllCond"
conds <- design.qf(ft)$Condition
op <- ">="
th <- 2
percent <- FALSE
ind <- qMetacellOnConditions(mask, type, conds, percent, op, th)

qMetacellFilteringScope()

SymFilteringOperators()

NA


samWieczorek/DAPAR2 documentation built on Oct. 15, 2023, 1:45 p.m.