Help for this page

Select Code to Download


  1. or download this
    %Hash1
    key 1 => '1'
    key 15 => '3'
    key 150 => '1'
    
  2. or download this
    %Hash2
    key 1 => '1'
    key 15 => '1'
    key 140 => '1'
    
  3. or download this
    %CombinedHash
    key 1 => '2'
    key 15 => '4'
    key 140 => '1'
    key 150 => '1'
    
  4. or download this
    my %muthash = (
            key1 => '1',
    ...
            key140 => '1', );
    my %mergedhash;
    %mergedhash = map {$_=> $muthash{$_} + $copyhash{$_} } (keys %muthash,
    +keys %copyhash);
    
  5. or download this
    my $fileoutput = $name." COMB".".csv";        
    open (OUTPUT,">Input/$fileoutput") or die "Could not open output file\
    +n";
    ...
        print OUTPUT "$gene",",","$mergedhash{$gene}","\n";
    }
    close (OUTPUT);