Bio/Draw/Pictogram.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 30 | 37 | 81.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
205 | 0 | 0 | 1 | ref $input and $input->isa('Bio::Matrix::PSM::SiteMatrixI') |
line | l | !l | condition |
---|---|---|---|
162 | 2 | 0 | $width ||= 800 |
163 | 0 | 2 | $height ||= 600 |
166 | 2 | 0 | $fontsize ||= 80 |
168 | 2 | 0 | $color || {'T', 'black', 'C', 'blue', 'G', 'green', 'A', 'red'} |
170 | 0 | 2 | $background || {'T', 0.25, 'C', 0.25, 'G', 0.25, 'A', 0.25} |
351 | 5 | 4 | $hash{$pos}{'A'} || 0 |
352 | 6 | 3 | $hash{$pos}{'C'} || 0 |
353 | 5 | 4 | $hash{$pos}{'G'} || 0 |
354 | 5 | 4 | $hash{$pos}{'T'} || 0 |
362 | 5 | 4 | $hash{$pos}{'A'} || 0 |
5 | 4 | $hash{$pos}{'A'} || 0 | |
363 | 6 | 3 | $hash{$pos}{'C'} || 0 |
6 | 3 | $hash{$pos}{'C'} || 0 | |
364 | 5 | 4 | $hash{$pos}{'G'} || 0 |
5 | 4 | $hash{$pos}{'G'} || 0 | |
365 | 5 | 4 | $hash{$pos}{'T'} || 0 |
5 | 4 | $hash{$pos}{'T'} || 0 |