multiProbSpurious: multiProbSpurious

Description Usage Arguments Value

View source: R/getFunctions.R

Description

Annotates a data.frame of DEA results (such as produced by edgeR's 'topTags' function) with the probability of each gene and foldchange in the DEA permutations.

Usage

1
multiProbSpurious(d, FCfield = "logFC", FDRfield = NULL)

Arguments

d

A data.frame of differential expression results, but HGNC symbols as row.names and a column indicating the log2 foldchange.

FCfield

The name of the column in 'd' containing the log2(foldchange) (default 'logFC').

FDRfield

Optional; the name of the column in 'd' containing the FDR. If given, a column will be added with the maximum of the FDR and the probability of DE in the permuations. (default disabled)

Value

The data.frame d, with the addition columns probDEinPermutations and probFCinPermutations


plger/iPSCpoweR documentation built on Feb. 2, 2022, 1:37 a.m.