GetIndices_WholeMatrix: Search lines which respects request on one or more...

View source: R/missingValuesFilter.R

GetIndices_WholeMatrixR 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

GetIndices_WholeMatrix(metacell.mask, op = "==", percent = FALSE, th = 0)

Arguments

metacell.mask

xxx

op

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

percent

A boolean to indicate whether the threshold represent an absolute value (percent = FALSE) or a percentage (percent=TRUE).

th

A floating number which is in the interval [0, 1]

Value

xxx

Examples

data(Exp1_R25_pept, package="DAPARdata")
obj <- Exp1_R25_pept[seq_len(10)]
level <- 'peptide'
pattern <- "Missing"
metacell.mask <- match.metacell(metadata = GetMetacell(obj), 
pattern = pattern, level = level)
percent <- FALSE
th <- 3
op <- ">="
ind <- GetIndices_WholeMatrix(metacell.mask, op, percent, th)


prostarproteomics/DAPAR documentation built on March 28, 2024, 4:44 a.m.