Bio::G...rPanels(3pm)
β¨ NAME β¨
Bio::Graphics::Browser2::RenderPanels β bestie, this is the module that literally provides methods to render a panel π
It's part of the User Contributed Perl Documentation, so you know it's the community's finest work π«Ά
πΈ add_feature_file πΈ
Internal use: render a feature file into a panel
That's it, that's the whole vibe. It's an internal thing β not your main character method, but it does the job. β¨
π create_panel_args() π
Okay so here's the signature, copy it exactly bestie:
@args = $self->create_panel_args($section,$args);
This one returns arguments you need to create a Bio::Graphics::Panel π
$sectionis one of'detail','overview', or'region'$argsis a hashref that contains these keys:
keystyle
title
image_class
postgrid
background
That's the whole guest list, no plus-ones, no substitutions π―
π¦ segment_coordinates() π¦
Signature time:
($start,$stop,$flip) = $self->segment_coordinates($segment,$flip)
A method that exists to correct for the rare case in which start and stop are flipped π β like when the coordinates wake up and choose chaos. It fixes that. Slay. π
β create_track_args() β
Here's the shape of it:
@args = $self->create_track_args($label,$args);
Returns arguments you need to create a Bio::Graphics::Track π₯
$labelis a config file stanza label for the track π
Yes, create_panel_args is for Panels and create_track_args is for Tracks. The naming is giving consistency, we love to see it. π
And that's the whole page, bestie β no cap, we kept every single detail and skipped zero of them. π
This lil' page is from perl v5.40.0, dated 2024-10-20, and it lives in the User Contributed Perl Documentation β shoutout to the version and the date, iconic as always. πβ¨π
π¦ where this page comes from
- ubuntu questing: gbrowse 2.56+dfsg-12build4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms