ezPresentFlags: Which values to keep?

View source: R/presentAnalysis.R

ezPresentFlagsR Documentation

Which values to keep?

Description

Returns TRUE for values that are considered as measured correctly and that are over a threshold, if one is used.

Usage

ezPresentFlags(x, presentFlag = NULL, param = NULL, isLog = FALSE)

Arguments

x

a matrix with row and column names.

presentFlag

a binary matrix with the same size as x which indicates if a values is considered as measured correctly.

param

contains a threshold and whether it should be used.

  • sigThresh the threshold...

  • useSigThresh ...and whether it should be used.

isLog

a logical indicating whether the log2() of the threshold should be used.

Value

Returns a logical matrix.

Author(s)

Rehrauer, Hubert

Schmid, Peter

Examples

m1 = matrix(1:20,5)
rownames(m1) = letters[1:5]
colnames(m1) = letters[6:9]
ezPresentFlags(m1, param=list(useSigThresh=TRUE, sigThresh=10))

uzh/ezRun documentation built on Dec. 26, 2024, 9:53 a.m.