calcDyspiaStat: calcDyspiaStat: Calculates DysPIA statistics

Description Usage Arguments Value

View source: R/DysPIA.R

Description

Calculates DysPIA statistics for a given query gene pair set.

Usage

1
2
3
4
5
6
7
calcDyspiaStat(
  stats,
  selectedStats,
  DyspiaParam = 1,
  returnAllExtremes = FALSE,
  returnLeadingEdge = FALSE
)

Arguments

stats

Named numeric vector with gene pair-level statistics sorted in decreasing order (order is not checked).

selectedStats

Indexes of selected gene pairs in the 'stats' array.

DyspiaParam

DysPIA weight parameter (0 is unweighted, suggested value is 1).

returnAllExtremes

If TRUE return not only the most extreme point, but all of them. Can be used for enrichment plot.

returnLeadingEdge

If TRUE return also leading edge gene pairs.

Value

Value of DysPIA statistic if both returnAllExtremes and returnLeadingEdge are FALSE. Otherwise returns list with the folowing elements:


DysPIA documentation built on July 10, 2020, 9:06 a.m.