arank: Array rank

Description Usage Arguments Value See Also Examples

View source: R/transformations.r

Description

Determines the rank of values within each matrix of a three-dimensional array.

Usage

1
arank(x, na.last = TRUE, ties.method = "first")

Arguments

x

a three-dimensional array of matrices

na.last

for controlling the treatment of NAs. If TRUE, missing values in the data are put last; if FALSE, they are put first; if NA, they are removed; if "keep" they are kept with rank NA.

ties.method

a character string specifying how ties are treated, see ‘Details’; can be abbreviated.

Value

an array with the same dimensions as x

See Also

rank

Other array.transformations: arle

Examples

1
2
3
4
5
# microarray visualization
if (require(affydata, quietly = TRUE)) {
  data("Dilution", package = "affydata")
  x <- arank(marray(Dilution, transpose = TRUE))
}

mimager documentation built on Nov. 8, 2020, 5:36 p.m.