Bio::G...en_box(3pm)
π Bio::Graphics::Glyph::redgreen_box β bestie edition
okay so real talk, this is the manual page for the <pink>Bio::Graphics::Glyph::redgreen_box</pink> module, aka the "redgreen_box" glyph, and it lives in the User Contributed Perl Documentation corner of the perl v5.30.0 world. buckle up, it's shorter than you think but every crumb matters π
β¨ NAME β¨
Bio::Graphics::Glyph::redgreen_box β it's the "redgreen_box" glyph, that's it, that's the name, she's iconic, she knows it π
πΈ SYNOPSIS πΈ
See L<Bio::Graphics::Panel> and L<Bio::Graphics::Glyph>.
like. that's the whole vibe. go read those two first, bestie, they're the lore π«Ά
π¦ DESCRIPTION π¦
okay so this glyph is similar to the graded_segments glyph, right? but here's the twist β she generates a greenβred gradient that's specifically made for microarray data. it's giving color-coded science, it's giving data visualization era.
the color rules are literally this simple:
- a feature score of 0 β full green π
- a feature score of 1.0 β full red β€οΈ
- everything in between β shades of yellow π
no cap, that's the whole gradient. 0 to 1, green to red, yellow holding it down in the middle like the peacekeeper she is.
β¨ OPTIONS β¨
so these next ones are standard among ALL Glyphs, not just this one. Bio::Graphics::Glyph has the full explanation if you want the deep lore, but here's the rundown:
-fgcolorβ the foreground color. default:black-outlinecolorβ literally just a synonym for-fgcolor-bgcolorβ the background color. default:turquoise-fillcolorβ synonym for-bgcolor-linewidthβ line width. default:1-heightβ height of glyph. default:10-fontβ glyph font. default:gdSmallFont-connectorβ connector type. default:0 (false)-connector_colorβ connector color. default:black-labelβ whether to draw a label. default:0 (false)-descriptionβ whether to draw a description. default:0 (false)-hiliteβ highlight color. default:undef (no color)
and now for the glyph-specific one, the main character, the one you came here for π
-borderβ draw a fgcolor border around the box. default:0 (false)-color_subpartsβ give each subpart a separate color based on its score. default:0 (false)
bestie listen. if-color_subpartsis true, then the glyph goes and individually colorizes each of its subparts, okay? AND β plot twist β internal bumping of features gets turned off. the result? an effect similar tograded_segments. slay β¨
π BUGS π
Please report them.
(that's it. that's all she wrote. not me being dramatic over three words but honestly? relatable, we love a low-effort bug section π«Ά)
π SEE ALSO π
okay so the reading list is LONG and honestly kind of a flex, so let's get into it. go check out:
Bio::Graphics::PanelBio::Graphics::GlyphBio::Graphics::Glyph::arrowBio::Graphics::Glyph::cdsBio::Graphics::Glyph::crossboxBio::Graphics::Glyph::diamondBio::Graphics::Glyph::dnaBio::Graphics::Glyph::dotBio::Graphics::Glyph::ellipseBio::Graphics::Glyph::extending_arrowBio::Graphics::Glyph::genericBio::Graphics::Glyph::graded_segmentsBio::Graphics::Glyph::heterogeneous_segmentsBio::Graphics::Glyph::lineBio::Graphics::Glyph::pinsertionBio::Graphics::Glyph::primersBio::Graphics::Glyph::rndrectBio::Graphics::Glyph::segmentsBio::Graphics::Glyph::ruler_arrowBio::Graphics::Glyph::toomanyBio::Graphics::Glyph::transcriptBio::Graphics::Glyph::transcript2Bio::Graphics::Glyph::translationBio::Graphics::Glyph::triangleBio::DB::GFFBio::SeqIBio::SeqFeatureIBio::DasGD
like. that's the whole squad. the whole friend group. iykyk π
π AUTHOR π
Lincoln Stein <lstein@cshl.org> β the icon, the legend, the moment π
Copyright (c) 2001 Cold Spring Harbor Laboratory
this library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. see DISCLAIMER.txt for disclaimers of warranty.
fr fr, if you're out here using this, know that the license is the same as Perl itself, and the warranty disclaimer lives in DISCLAIMER.txt. don't skip that part bestie, it's not just vibes π«Ά
and that's the whole page!! this was perl v5.30.0, dated 2019-11-25, brought to you by the Bio::G...en_box(3pm) manual itself. mwah, go make some pretty red-green boxes, you got this π
β¨π¦
π¦ where this page comes from
- debian bookworm: libbio-graphics-perl 2.40-6 Β· Perl
- debian trixie: libbio-graphics-perl 2.40-6 Β· Perl
- ubuntu jammy: libbio-graphics-perl 2.40-6 Β· Perl
- ubuntu noble: libbio-graphics-perl 2.40-6 Β· Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms