Get a count table of differentially expressed genes per contrast
Source:R/02_de_analyses.R
get_deg_counts.Rd
Get a count table of differentially expressed genes per contrast
Arguments
- deg_list
A list of data frames with gene-wise test statistics for differentially expressed genes as returned by
get_deg_list()
.
Value
A data frame with the following variables:
- contrast
Character, contrast name.
- up
Numeric, number of up-regulated genes.
- down
Numeric, number of down-regulated genes.
- total
Numeric, total number of differentially expressed genes.
- perc_up
Numeric, percentage of up-regulated genes.
- perc_down
Numeric, percentage of down-regulated genes.
- perc_total
Numeric, percentage of diffferentially expressed genes.
Examples
data(deg_list)
deg_counts <- get_deg_counts(deg_list)