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

completeArrLst

Complete list of arrays for same dimensions


Description

This functions aims to inspect repeating structues of data given as list of arrays and will try to complete arrays with fewer lines or columns (as this may appear eg with the very last set of high-thourput sceening data if fewer measures remain in the last set). Thus, the dimensions of the arrays are compared and cases with fewer (lost) columns (eg fewer experimental replicates) will be adjust/complete by adding column(s) of NA. Used eg when at reading mircotiterplate data the last set is not complete.

Usage

completeArrLst(arrLst, silent = FALSE, callFrom = NULL)

Arguments

arrLst

(list) list of arrays (typically 1st and 2nd dim for specific genes/objects, 3rd for different measures associated with)

silent

(logical) suppress messages

callFrom

(character) allows easier tracking of message(s) produced

Value

list of arrays, now with same dimension of arrays

See Also

Examples

arr1 <- array(1:24,dim=c(4,3,2),dimnames=list(c(LETTERS[1:4]),
  paste("col",1:3,sep=""),c("ch1","ch2")))
arr3 <- array(81:96,dim=c(4,2,2),dimnames=list(c(LETTERS[1:4]),
  paste("col",1:2,sep=""),c("ch1","ch2")))
arrL3 <- list(pl1=arr1,pl3=arr3)
completeArrLst(arrL3)

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.