Skip to content

Commit 4bad37a

Browse files
authored
Filter ORA results in differential_expression.qmd
1 parent 211e714 commit 4bad37a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

02_differential_expression/differential_expression.qmd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,11 @@ fa_list <- lapply(de_list, function(contrast) {
963963
all_in_life = all_in_life
964964
) # Annotation databases to query against
965965
966+
# Filter and sort the ORA output for results with an adjust p-value less than 0.05
967+
all <- all %>% filter(padj < 0.05) %>% arrange(padj)
968+
up <- up %>% filter(padj < 0.05) %>% arrange(padj)
969+
down <- down %>% filter(padj < 0.05) %>% arrange(padj)
970+
966971
# Create a list to hold the ORA results for a given contrast
967972
list(
968973
all = all, # Assign the positive and negative lfc combined ORA results to "all"

0 commit comments

Comments
 (0)