select_top: Select equal numbers of top features from the topTable

View source: R/select_top.R

select_topR Documentation

Select equal numbers of top features from the topTable

Description

Select equal numbers of top features from the topTable based on p-values.

Usage

select_top(
  tab,
  prefix.v = NULL,
  p.suffix = "p",
  ntop = 50,
  ntop.offset = 5,
  each = TRUE
)

Arguments

tab

Table of output from ezlimma.

prefix.v

A vector of prefixes that prefix .p, .FDR, or .logFC in colnames(tab). These will be the columns that are used in the Venn diagram. If NULL these are inferred from colnames(tab) that end with .p.

p.suffix

The suffix of p-value columns, i.e. the character string after the period "."

ntop

Number of top features

ntop.offset

Offset for ntop

each

Logical TRUE for select equal number of top features from each comparison

Value

Vector of the top feature's IDs (the rownames of topTable).


jdreyf/jdcbioinfo documentation built on April 15, 2024, 6:37 p.m.