top_genes: Get top genes

View source: R/top_genes.R

top_genesR Documentation

Get top genes

Description

Return top genes in DESeq results

Usage

top_genes(res, top = 40, padjust = 0.05, basemean, log2FC, sort_fc = FALSE)

Arguments

res

an annotated DESeq2 results file

top

Number of top genes to display in matrix

padjust

Adjusted p-value cutoff

basemean

basemean cutoff

log2FC

absolute value log2 fold change cutoff

sort_fc

Get the top n/2 up and down-regulated genes sorted by adjusted p-value

Value

A tibble of top genes

Author(s)

Chris Stubben

Examples

top_genes(pasilla$results) %>% dplyr::select(1:7,11)

HuntsmanCancerInstitute/hciR documentation built on Dec. 10, 2024, 12:22 p.m.