Skip to content

Commit

Permalink
+ --bfsize/--dfsize options
Browse files Browse the repository at this point in the history
  • Loading branch information
Pombert-JF committed Apr 29, 2024
1 parent 047dca8 commit 77f21ac
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion run_syny.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Pombert lab, 2022

my $name = 'run_syny.pl';
my $version = '0.6.4e';
my $version = '0.6.4f';
my $updated = '2024-04-29';

use strict;
Expand Down Expand Up @@ -77,13 +77,15 @@
### Barplots
-bh (--bheight) Barplot figure height in inches [Default: 10.8]
-bw (--bwidth) Barplot figure width in inches [Default: 19.2]
--bfsize Barplot font size [Default: 8]
--palette Barplot color palette [Default: Spectral]
--monobar Use a monochrome barplot color instead: e.g. --monobar blue
--no_barplot Turn off barplots
### Dotplots
-dh (--dheight) Dotplot figure height in inches [Default: 10.8]
-dw (--dwidth) Dotplot figure width in inches [Default: 19.2]
--dfsize Dotplot font size [Default: 8]
-m (--multi) Axes units multiplier (for dotplots) [Default: 1e5]
--color Dotplot color [Default: blue]
--dotpalette Use a color palette instead: e.g. --dotpalette inferno
Expand Down Expand Up @@ -141,13 +143,15 @@
# Barplots
my $bheight = 10.8;
my $bwidth = 19.2;
my $bfsize = 8;
my $palette = 'Spectral';
my $monobar;
my $no_barplot;

# Dotplots
my $dheight = 10.8;
my $dwidth = 19.2;
my $dfsize = 8;
my $multiplier = '1e5';
my $color = 'blue';
my $dotpalette;
Expand Down Expand Up @@ -199,12 +203,14 @@
# Barplots
'bh|bheight=s' => \$bheight,
'bw|bwidth=s' => \$bwidth,
'bfsize=i' => \$bfsize,
'palette=s' => \$palette,
'monobar=s' => \$monobar,
'no_barplot' => \$no_barplot,
# Dotplots
'dh|dheight=s' => \$dheight,
'dw|dwidth=s' => \$dwidth,
'dfsize=i' => \$dfsize,
'm|multiplier=s' => \$multiplier,
'color=s' => \$color,
'dotpalette=s' => \$dotpalette,
Expand Down Expand Up @@ -556,6 +562,7 @@
--height $bheight \\
--width $bwidth \\
--palette $palette \\
--fontsize $bfsize \\
$tick_flag \\
$monobar_flag \\
2>> $log_err
Expand All @@ -582,6 +589,7 @@
--height $dheight \\
--width $dwidth \\
--color $color \\
--fontsize $dfsize \\
$tick_flag \\
$dotpal_flag \\
--wdis $wdis \\
Expand Down Expand Up @@ -785,6 +793,7 @@
--height $bheight \\
--width $bwidth \\
--palette $palette \\
--fontsize $bfsize \\
$tick_flag \\
$monobar_flag \\
2>> $log_err
Expand Down Expand Up @@ -825,6 +834,7 @@
--height $dheight \\
--width $dwidth \\
--color $color \\
--fontsize $dfsize \\
$tick_flag \\
$dotpal_flag \\
--wdis $wdis \\
Expand Down

0 comments on commit 77f21ac

Please sign in to comment.