Formatting differential expression results from limma

format_res_limma(
  dt,
  gene_id_conversion = NULL,
  log2FoldChange = 0,
  n_label = 20,
  padj = 0.05
)

Arguments

dt

Differential expression results dataframe from limma

gene_id_conversion

Default to NULL. Can provide a dataframe with gene_name and uniprot_id columns to easily convert nomenclature.

log2FoldChange

Log2FC absolute threshold

n_label

maximum number of label on volcano plot

padj

adjusted p value threshold. Default to 0.05

Value

Formatted data frame