Skip to main content

Module toptable

Module toptable 

Source
Expand description

Ranked result tables. Port of limma’s topTable (topTable / topTableF) plus the Benjamini-Hochberg adjustment provided by R’s p.adjust(method = "BH").

Structs§

TopRow
One row of a single-contrast moderated-t table (_topTableT).
TopRowF
One row of a multi-contrast moderated-F table (_topTableF).

Enums§

SortBy
Sorting criterion for top_table.

Functions§

p_adjust_bh
Benjamini-Hochberg step-up FDR adjustment. Matches R p.adjust(p, method = "BH").
top_table
Extract the top-ranked genes for a single coefficient/contrast. Port of _topTableT. number == None returns all rows.
top_table_f
Extract top-ranked genes by the overall moderated F-statistic. Port of _topTableF (sorted by F p-value).
top_treat
Summary table of top genes from a [crate::treat] fit. Port of topTreat: topTable restricted to a single coefficient, defaulting to sort by p-value, with B-sorting disallowed (treat has no B-statistic).