NAME
Bio::PopGen::Marker - A genetic marker which one uses to generate genotypes
SYNOPSIS
my $name = $marker->name(); # marker namemy $description = $marker->description(); # descriptionmy $type = $marker->type(); # coded type of the markermy $unique_id = $marker->unique_id; # optional unique IDmy @alleles = $marker->get_Alleles(); # the known allelesmy %allele_freqs = $marker->get_Allele_Frequencies(); # keys are marker names# vals are frequencies# may change to handle multiple populations
DESCRIPTION
This object will not contain genotype information pertaining to an individual, but rather population level statistics and descriptive information about a marker.
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 - Jason Stajich
Email jason-at-bioperl.org
CONTRIBUTORS
Matthew Hahn, matthew.hahn-at-duke.edu
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
new
Title : newUsage : my $obj = Bio::PopGen::Marker->new();Function: Builds a new Bio::PopGen::Marker objectReturns : an instance of Bio::PopGen::MarkerArgs : -name => [string] marker name-description => [string] marker description-type => [string] marker type-unique_id => [string/int] unique id-allele_freq => [hash ref] allele frequencies
name
Title : nameUsage : my $name = $marker->name();Function: Get the name of the markerReturns : string representing the name of the markerArgs : [optional] name
description
Title : descriptionUsage : my $desc = $marker->descriptionFunction: Get the marker description free textReturns : stringArgs : [optional] string
type
Title : typeUsage : my $type = $marker->type;Function: Get coded string for marker typeReturns : stringArgs : [optional] string
unique_id
Title : unique_idUsage : my $id = $marker->unique_id;Function: Get the unique marker IDReturns : unique ID stringArgs : [optional ] string
annotation
Title : annotationUsage : my $annotation_collection = $marker->annotation;Function: Get/set a Bio::AnnotationCollectionI for this markerReturns : Bio::AnnotationCollectionI objectArgs : [optional set] Bio::AnnotationCollectionI object
get_Alleles
Title : get_AllelesUsage : my @alleles = $marker->get_Alleles();Function: Get the available marker allelesReturns : Array of stringsArgs : none
get_Allele_Frequencies
Title : get_Allele_FrequenciesUsage : my %allele_freqs = $marker->get_Allele_Frequencies;Function: Get the alleles and their frequency (set relative toa given population - you may want to create differentmarkers with the same name for different populationswith this current implementationReturns : Associative array where keys are the names of the allelesArgs : none
add_Allele_Frequency
Title : add_Allele_FrequencyUsage : $marker->add_Allele_Frequency($allele,$freq)Function: Adds an allele frequencyReturns : NoneArgs : $allele - allele name$freq - frequency value
reset_alleles
Title : reset_allelesUsage : $marker->reset_alleles();Function: Reset the alleles for a markerReturns : NoneArgs : None
marker_coverage
Title : marker_coverageUsage : $marker->marker_coverage();Function: Get marker coverage, that is, the number ofindividuals where the marker is presentexcluding missing or ambiguous allelesReturns : integer, representing marker coverageArgs :