top_genes: Get top genes

Description Usage Arguments Value Author(s) Examples

View source: R/top_genes.R

Description

Return top genes in DESeq results

Usage

1
2
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

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

HuntsmanCancerInstitute/hciR documentation built on Jan. 10, 2020, 5:52 p.m.