We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79bf475 commit a5612e7Copy full SHA for a5612e7
2 files changed
workflow/rules/report.smk
@@ -17,6 +17,9 @@ rule demix_plot:
17
design = config["PLOTS"]
18
input:
19
data = REPORT_DIR_TABLES/"demix.csv"
20
+ params:
21
+ plot_width_mm = 159.2,
22
+ plot_height_mm = 119.4,
23
output:
24
plot = report(REPORT_DIR_PLOTS/"demix.png")
25
log:
workflow/scripts/report/demix_plot.R
@@ -46,8 +46,8 @@ log_info("Saving plot")
46
ggsave(
47
filename = snakemake@output[["plot"]],
48
plot = p,
49
- width = 159.2,
50
- height = 119.4,
+ width = snakemake@params$plot_width_mm,
+ height = snakemake@params$plot_height_mm,
51
units = "mm",
52
dpi = 250
53
)
0 commit comments