[Bioperl-l] Graphics::Panel
Lincoln Stein
lstein at cshl.edu
Thu Nov 15 17:38:04 UTC 2007
Depending on which Feature object you use, you may have to use a tag named
"note" instead of "description".
Lincoln
On Nov 15, 2007 10:26 AM, Bernd Web <bernd.web at gmail.com> wrote:
> Hi,
>
> Has someone been able to access '$description' for the production of
> imagemaps with Graphics::Panel?
> The map below does not print the "title" tag at all, '$description'
> seems not available, although for the tracks ($panel->add_track) it is
> available.
> $map = $panel->create_web_map($mapname, $linkrule, '$description');
>
> Replacing '$description' with a coderef for the titletag does work, if
> I use the code below
> my $titlerule = sub { return ($_[0]->each_tag_value('description'))[0] };
>
>
> I am using bioperl-1.5.2_102; Panel.pm: sub api_version { 1.654 }
>
>
> Regards,
> Bernd
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>
--
Lincoln D. Stein
Cold Spring Harbor Laboratory
1 Bungtown Road
Cold Spring Harbor, NY 11724
(516) 367-8380 (voice)
(516) 367-8389 (fax)
FOR URGENT MESSAGES & SCHEDULING,
PLEASE CONTACT MY ASSISTANT,
SANDRA MICHELSEN, AT michelse at cshl.edu
More information about the Bioperl-l
mailing list