signed_rankprod: Signed rank products of a two column matrix where larger...

View source: R/signed_rankprod.R

signed_rankprodR Documentation

Signed rank products of a two column matrix where larger statistics have stronger rank in the same or opposite direction

Description

Signed rank products of a two column matrix. Larger statistics have stronger rank in the same or opposite direction.

Usage

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

Arguments

mat

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

nsim

Numeric number of simulations.

same.dirction

Logical indicates whether the two ranks should be in the same direction.

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 signed rank products test.


jdreyf/jdcbioinfo documentation built on March 23, 2024, 11:54 p.m.