Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

filt3dimArr

Filter a three-dimensional array of numeric data


Description

Filtering of 3-dim array ('x') : filter column 'filtCrit' as 'larger as' (according to 'filtTy') 'filtVal' and extract/display all col matching 'displCrit'.

Usage

filt3dimArr(x, filtCrit, filtVal, filtTy = ">", displCrit = NULL)

Arguments

x

array (3-dim) of numeric data

filtCrit

(character, length=1) which column-name consider when filtering filter with 'filtVal' and 'filtTy'

filtVal

(numeric) for testing inferior/superor/equal condition

filtTy

(character) which type of testing to perform ('eq','inf','infeq','sup','supeq', '>', '<', '>=', '<=', '==')

displCrit

(character) column-name(s) to display

Value

list of filtered matrixes (by 3rd dim)

Examples

arr1 <- array(1:24,dim=c(4,3,2),dimnames=list(c(LETTERS[1:4]),
  paste("col",1:3,sep=""),c("ch1","ch2")))
filt3dimArr(arr1,displCrit=c("col1","col2"),filtCrit="col2",filtVal=7)

wrMisc

Analyze Experimental High-Throughput (Omics) Data

v1.5.4
GPL-3
Authors
Wolfgang Raffelsberger [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.