---
name: "Bio::Graphics::Browser2::RenderPanels"
section: "3pm"
platform: "linux"
package: "gbrowse"
version: "2.56+dfsg-12"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Bio::Graphics::Browser2::RenderPanels"
---

# Bio::Graphics::Browser2::RenderPanels(3pm)

## NAME

Bio::Graphics::Browser2::RenderPanels-- Provide methods to render a panel

### add\_feature\_file

Internal use: render a feature file into a panel

### create\_panel\_args()

```
  @args = $self->create_panel_args($section,$args);
```

Return arguments need to create a Bio::Graphics::Panel. `$section` is one of 'detail','overview', or 'region' `$args` is a hashref that contains the keys:

```
   keystyle
   title
   image_class
   postgrid
   background
```

### segment\_coordinates()

```
   ($start,$stop,$flip) = $self->segment_coordinates($segment,$flip)
```

Method to correct for rare case in which start and stop are flipped.

### create\_track\_args()

```
  @args = $self->create_track_args($label,$args);
```

Return arguments need to create a Bio::Graphics::Track. `$label` is a config file stanza label for the track.
