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

cutArrayInCluLike

Cut 3-dim array in list of matrixes (or arrays) similar to organizing into clusters


Description

cutArrayInCluLike cuts 'dat' (matrix,data.frame or 3-dim array) in list (of appended lines) according to 'cluOrg', which serves as instruction which line of 'dat' should be placed in which list-element (like sorting according to cluster-numbers).

Usage

cutArrayInCluLike(dat, cluOrg, callFrom = NULL)

Arguments

dat

array (3 dim)

cluOrg

(factor) organization of lines to clusters

callFrom

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

Value

list of matrixes (or arrays)

Examples

mat1 <- matrix(1:30,nc=3,dimnames=list(letters[1:10],1:3))
cutArrayInCluLike(mat1,cluOrg=factor(c(2,rep(1:4,2),5)))

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.