topGene: Choose top genes from DEG data frame of limma DESeq2 edgeR

View source: R/utils.R

topGeneR Documentation

Choose top genes from DEG data frame of limma DESeq2 edgeR

Description

For example, if topSig = 50, head 50 and tail 50 will return from a ordered DEG data frame after filtering by threshold value of P value

Usage

topGene(object, topSig = 50, which, category = "H")

Arguments

object

a DEG data frame contains logFC and p value

topSig

a single number or a length of 2 numeric vector, if 2 numeric vector, first one is top max logFC.

which

a single number for threshold value of P value

Value

a character vector of top genes

Examples

topGene(object,  topSig = 50, which = "limma")

xiayh17/RNAseqStat2 documentation built on May 27, 2023, 12:13 p.m.