Skip to content

Commit

Permalink
Update do_VolcanoPlot.R
Browse files Browse the repository at this point in the history
Replaced reference to 'number.tags' with 'n_genes'...
  • Loading branch information
nbpeterson3 authored Jul 18, 2024
1 parent 151033d commit 34ce6dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/do_VolcanoPlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ do_VolcanoPlot <- function(sample,
dplyr::arrange(dplyr::desc(.data$log_p),
dplyr::desc(.data$abs_avg_log2FC)) %>%
as.data.frame() %>%
utils::head(number.tags * 2)
utils::head(n_genes * 2)
} else if (order_tags_by == "pvalue"){
data.up <- data %>%
dplyr::filter(.data$avg_log2FC > 0) %>%
Expand Down

0 comments on commit 34ce6dc

Please sign in to comment.