# HG changeset patch # User dereeper # Date 1628697191 0 # Node ID 2920630b4d02529039f2c7b367e27f4aea57ac43 # Parent 3b78dc3c36dfd5f7a9b6c88ef2f1a899c8565d5a Uploaded diff -r 3b78dc3c36df -r 2920630b4d02 boxplots.pl --- a/boxplots.pl Tue Aug 10 20:22:21 2021 +0000 +++ b/boxplots.pl Wed Aug 11 15:53:11 2021 +0000 @@ -30,7 +30,7 @@ my @headers = split(/\t/,$first); while(){ my $line = $_; - $line =~s/\n//g;$line =~s/\r//g; + $line =~s/\n//g;$line =~s/\r//g;$line =~s/\"//g; my @infos = split(/\t/,$line); my $cat = $infos[0]; for (my $i = 1; $i <= $#infos; $i++){ @@ -52,11 +52,17 @@ my %subhash = %$refhash; foreach my $header(@categories){ my $values = $hash{$cat}{$header}; - open(F,">inforcalc");print F $values;close(F); - my $cmd = `Rscript $dirname/calc.r inforcalc");print F $values;close(F); + my $cmd = `Rscript $dirname/calc.r