get_pval_colname: Determine the column name of the p-value column in a table

View source: R/fdr_utils.R

get_pval_colnameR Documentation

Determine the column name of the p-value column in a table

Description

limma uses "P.Value" while edgeR uses "PValue", so we need an abstraction.

Usage

get_pval_colname(ttab)

Arguments

ttab

A table of results produced by limma::topTable(), edgeR::topTags(), DESeq2::results(), or any table with a p-value column in it.

Value

The name of the column containing p-values. If no such column is found, an error is thrown.


DarwinAwardWinner/rctutils documentation built on July 22, 2022, 5:19 a.m.