소스 검색

Add y-span for dynamic annotations

Bryan Roessler 6 달 전
부모
커밋
850a34d30f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      qhtcp-workflow/apps/r/calculate_interaction_zscores.R

+ 1 - 0
qhtcp-workflow/apps/r/calculate_interaction_zscores.R

@@ -739,6 +739,7 @@ generate_interaction_plot_configs <- function(df, type) {
 
     for (var in names(limits_map)) {
       y_limits <- limits_map[[var]]
+      y_span <- y_limits[2] - y_limits[1] 
 
       # Common plot configuration
       plot_config <- list(