From 4b14a822be33b688e947fbcc112eae43a2e8704c Mon Sep 17 00:00:00 2001 From: Vlad Petyuk Date: Tue, 14 May 2024 14:22:16 -0700 Subject: [PATCH] switch to object reuturn instead of plotting side effect --- R/ptm_significance_map.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/ptm_significance_map.R b/R/ptm_significance_map.R index e809fa4..a55aed9 100644 --- a/R/ptm_significance_map.R +++ b/R/ptm_significance_map.R @@ -171,7 +171,7 @@ ptm_significance_map <- function(x, p <- p + ggtitle(sprintf("%s, %s", gene_i, i)) } - print(p) + return(p) } } }