Skip to content

Commit 51f1b1b

Browse files
committed
update if-else pattern
1 parent 580588a commit 51f1b1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

workflow/scripts/report/pairwise_trajectory_correlation_data.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ log_info("Saving table of frequencies")
5151
write.csv(all_variants_wider, snakemake@output[["table"]])
5252

5353
log_info("Filtering variant columns by unique values and amplitude thresholds")
54-
combine_f <- ifelse(snakemake@params$filter_combine == "all", all, any)
54+
combine_f <- if (snakemake@params$filter_combine == "all") all else any
5555
filtered <- all_variants_wider %>%
5656
select(
5757
where(

0 commit comments

Comments
 (0)