NAME
Bio::Map::LinkageMap - A representation of a genetic linkage map.
SYNOPSIS
use Bio::Map::LinkageMap;# create a new mapmy $map = Bio::Map::LinkageMap->new(-name => 'Chads Superterriffic Map',-type => 'Linkage',-units=> 'cM');# create the location of a marker for that mapmy $position = Bio::Map::LinkagePosition->new( -positions => 1,-distance => "22.3");# create a marker and place it at that positionmy $marker = Bio::Map::Marker::Microsatellite->new(-name => 'SuuuperMarker',-position => $position);# place that marker on that map$map->add_element($marker);# done!
DESCRIPTION
This object describes the basic functionality of a genetic linkage map in Bioperl. Each 'position' can have one or more markers that map some number of units from the markers at the previous position.
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.
[email protected] - General discussionhttp://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list:
rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible.
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:
https://github.com/bioperl/bioperl-live/issues
AUTHOR - Chad Matsalla
Email [email protected]
CONTRIBUTORS
Lincoln Stein [email protected] Heikki Lehvaslaiho heikki-at-bioperl-dot-org Jason Stajich [email protected] Sendu Bala [email protected]
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
new
Title : newUsage : my $linkage_map = Bio::Map::LinkageMap->new();Function: Builds a new Bio::Map::LinkageMap objectReturns : Bio::Map::LinkageMapArgs : -name => the name of the map (string) [optional]-type => the type of this map (string, defaults to Linkage) [optional]-species => species for this map (Bio::Species) [optional]-units => the map units (string, defaults to cM) [optional]-elements=> elements to initialize with(arrayref of Bio::Map::MappableI objects) [optional]-uid => Unique ID of this map
length
Title : lengthUsage : my $length = $map->length();Function: Retrieves the length of the map. In the case of a LinkageMap, thelength is the sum of all marker distances.Returns : An integer representing the length of this LinkageMap. Will return0 if length is not calculateableArgs : None.
add_element($marker)
Title : add_element($marker)Usage : $map->add_element($marker)Function: Add a Bio::Map::MappableI object to the MapReturns : noneArgs : Bio::Map::MappableI objectNotes : It is strongly recommended that you use aBio::Map::LinkagePosition as the position in anyBio::Map::Mappable that you create to place on thismap. Using some other Bio::Map::Position might work but mightbe unpredictable.N.B. I've added Bio::Map::OrderedPosition which should achievesimilar things from LinkagePosition and will work forRH markers too.