Skip to contents

Get top DE genes by log2FoldChange or adjusted p-value

Usage

top.genes(res, fdr.thres = 0.01, fc.thres = 0, n = 10, by = "log2FoldChange")

Arguments

res

data.frame with DE analysis results

fdr.thres

FDR threshold

fc.thres

log2FoldChange threshold

n

number of genes to return

by

metric to determine top genes ('log2FoldChange' or 'padj')