rankprod: Rank products of a matrix where larger statistics have...

View source: R/rankprod.r

rankprodR Documentation

Rank products of a matrix where larger statistics have stronger rank

Description

Rank products of a matrix. Larger statistics have stronger rank.

Usage

rankprod(mat, nsim = 1e+07 - 2, reorder.rows = TRUE, prefix = NULL, seed = 100)

Arguments

mat

Numeric matrix with columns holding statistics per comparison & rows are analytes.

nsim

Numeric number of simulations.

reorder.rows

Logical, should rows be reordered by p-value?

prefix

Character string to add to beginning of column names. NULL does not add a prefix.

seed

Random seed.

Value

Data frame with statistics from rank products test.


jdreyf/jdcbioinfo documentation built on May 6, 2024, 8:19 a.m.