Help for this page

Select Code to Download


  1. or download this
    my @inst = ( 'CAGGTG',
                 'CAGGTG' );
    
    my $res1 = get_pwm(@inst);
    
  2. or download this
    $VAR1 = {
        'A' => [ 0, '1' ],
    ...
        'C' => [ '1' ],
        'G' => [ 0, 0, '1', '1', 0, '1' ]
    };
    
  3. or download this
    $VAR1 = {
        'A' => [ '0', '1', '0', '0', '0', '0' ],
    ...
        'C' => [ '1', '0', '0', '0', '0', '0' ],
        'G' => [ '0', '0', '1', '1', '0', '1' ] 
    };
    
  4. or download this
        @$_ = map { $_ ? $_ / $n : 0 } @$_ for values %pwm;