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

checkGrpOrder

checkGrpOrder


Description

checkGrpOrder tests each line of 'x' if expected order appears. Used for comparing groups of measures with expected profile (simply by mataching expected order)

Usage

checkGrpOrder(x, rankExp = NULL, revRank = TRUE)

Arguments

x

matrix or data.frame

rankExp

(numeric) expected order for values in columns, default 'rankExp' =1:ncol(x)

revRank

(logical) if 'revRank'=TRUE, the initial ranks & reversed ranks will be tested

Value

vector of logical values

See Also

Examples

set.seed(2005); mat <- matrix(round(runif(40),1),ncol=4)
checkGrpOrder(mat)
checkGrpOrder(mat,c(1,4,3,2))

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.