Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

bio::graphics::configuratori(3pm) [debian man page]

Bio::Graphics::ConfiguratorI(3pm)			User Contributed Perl Documentation			 Bio::Graphics::ConfiguratorI(3pm)

NAME
Bio::Graphics::ConfiguratorI - A sectioned map of configuration options (a map of maps), with a default section. Intended to augment existing tag->value semantics (ie. of Bio::AnnotationCollectionI) for object-representation information (eg. foreground color), and for general interface preferences (eg. image width in gbrowse). SYNOPSIS
# get a ConfiguratorI somehow my $fg_color = $configurator->get('fgcolor'); DESCRIPTION
This object contains various configuration parameters. It is divided up into sections and tags. This is essentially a multi-level map (section->tag->value). There is also the concept of a default section which is referenced when no section is passed to the ConfiguratorI methods. FEEDBACK
Mailing Lists User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the Bioperl mailing list. Your participation is much appreciated. bioperl-l@bioperl.org - General discussion http://bioperl.org/wiki/Mailing_lists - About the mailing lists Reporting Bugs Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the web: http://bugzilla.open-bio.org/ AUTHOR - Robert Hubley Email rhubley@systemsbiology.org CONTRIBUTORS
Paul Edlefsen, pedlefsen@systemsbiology.org Lincoln Stein, lstein@cshl.org Heikki Lehvaslaiho, heikki-at-bioperl-dot-org APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ get_sections Title : get_sections Usage : my @values = $configurator->get_sections(); Function: Returns a list of the valid sections except the default or undef. Returns : A list of the sections which can be queried. Args : (optional section as string, tag as string) get_tags Title : get_tags Usage : my @values = $configurator->get_tags(); or my @values = $configurator->get_tags('dna'); Function: Returns a list of tags for a given section or only the default tags section if no section is given. Returns : A scalar list of tags Args : get Title : get Usage : my $value = $configurator->get('height'); or my $value = $configurator->get('dna','height'); Function: Returns a tag value from a configurator from the either the default "_general" section or from a specified section or undef. Returns : A scalar value for the tag Args : (optional section as string, tag as string) set Title : set Usage : $configurator->set('fgcolor','chartreuse'); or $configurator->set('EST','fgcolor','chartreuse'); Function: Set a value for a tag Returns : The old value of the tag Args : (optional section as string, tag as string, value as scalar) get_and_eval Title : get_and_eval Usage : my $value = $configurator->get_and_eval('height'); or my $value = $configurator->get_and_eval('dna','height'); Function: This works like get() except that it is also able to evaluate code references. These are options whose values begin with the characters "sub {". In this case the value will be passed to an eval() and the resulting codereference returned. Returns : A value of the tag or undef. Args : (optional section as string, tag as string) perl v5.14.2 2012-02-20 Bio::Graphics::ConfiguratorI(3pm)

Check Out this Related Man Page

Bio::Graphics::RendererI(3pm)				User Contributed Perl Documentation			     Bio::Graphics::RendererI(3pm)

NAME
Bio::Graphics::RendererI - A renderer for the Bio::Graphics class that renders Bio::SeqFeature::CollectionI objects onto Bio::Graphics::Panels using configuration information provided by a Bio::Graphics::ConfiguratorI. SYNOPSIS
# Get a renderer somehow, called $renderer # create a new panel and render contents a feature collection onto it my $config = new ConfigIO( $config_file )->getConfig(); my $features = $data_provider->getCollection(); my ( $tracks_rendered, $panel ) = $renderer->render( $features, $prefs ); DESCRIPTION
Renderer of Bio::SeqFeature::CollectionIs (collections of features) onto a Bio::Graphics::Panel using a Bio::Graphics::ConfiguratorI for general and track-specific rendering options. FEEDBACK
Mailing Lists User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the Bioperl mailing list. Your participation is much appreciated. bioperl-l@bioperl.org - General discussion http://bioperl.org/wiki/Mailing_lists - About the mailing lists Reporting Bugs Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the web: http://bugzilla.open-bio.org/ AUTHOR
Paul Edlefsen <paul@systemsbiology.org>. Copyright (c) 2003 Institute for Systems Biology 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. APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ render Title : render Usage : ( $rendered, $panel ) = $renderer->render( $collection, $configurator [, $panel ] ); Function: Renders the SeqFeatures in the given collection onto a Bio::Graphics::Panel (if no panel is given, one will be created), using the given Bio::Graphics::ConfiguratorI for general and track-specific rendering options. Returns : In a scalar context returns the number of tracks rendered. In a list context, returns a two-element list containing the number of features rendered and the panel. Args : A Bio::SeqFeature::CollectionI and a Bio::Graphics::ConfiguratorI and optionally a Bio::Graphics::Panel. Status : Public perl v5.14.2 2012-02-20 Bio::Graphics::RendererI(3pm)
Man Page