Parcourir la source

Fix plot config references

Bryan Roessler il y a 7 mois
Parent
commit
3bc0b532b7
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      qhtcp-workflow/apps/r/calculate_interaction_zscores.R

+ 3 - 3
qhtcp-workflow/apps/r/calculate_interaction_zscores.R

@@ -14,7 +14,7 @@ options(warn = 2)
 # Set the memory limit to 30GB (30 * 1024 * 1024 * 1024 bytes)
 soft_limit <- 30 * 1024 * 1024 * 1024
 hard_limit <- 30 * 1024 * 1024 * 1024
-rlimit_as(soft_limit, hard_limit)
+invisible(rlimit_as(soft_limit, hard_limit))
 
 # Constants for configuration
 plot_width <- 14
@@ -1339,8 +1339,8 @@ main <- function() {
 
       message("Generating rank plots")
       zscores_interactions_joined_filtered <- filter_data(
-        zscores_interactions_joined,
-        variables,
+        df = zscores_interactions_joined,
+        variables = interaction_vars,
         missing = TRUE,
         adjust = TRUE,
         rank = TRUE)