Bio::Phenotype::MeSH::Term(3pm) | User Contributed Perl Documentation | Bio::Phenotype::MeSH::Term(3pm) |
Bio::Phenotype::MeSH::Term - A MeSH term
use Bio::Phenotype::MeSH::Term; # create a term object my $term = Bio::Phenotype::MeSH::Term->new (-id => 'D000001', -name => 'Dietary Fats', -description => 'dietary fats are...' ); # get a Bio::Phenotype::MeSH::Twig somehow... $term->add_twig($twig1);
This class keeps information about MeSH terms. MeSH stands for Medical Subject Headings and is one of the ways for annotaing biomedical literature. The terminology is maintained by National Library of Medicine of USA . See http://www.nlm.nih.gov/mesh/meshhome.html.
In addition to id, name and description a term can know about its surrounding terms (Bio::Phenotype::MeSH::Twig) in the term hierarchy.
This class is mainly used from Bio::DB::MeSH which retrieves terms over the Web.
Bio::DB::MeSH, Bio::Phenotype::MeSH::Twig
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 lists Your participation is much appreciated.
bioperl-l@bioperl.org - General discussion http://bioperl.org/wiki/Mailing_lists - About the mailing lists
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
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.
report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via the web:
https://github.com/bioperl/bioperl-live/issues
Heikki Lehvaslaiho, heikki-at-bioperl-dot-org
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
Title : id Usage : $obj->id( "r1" ); or print $obj->id(); Function: Set/get for the id. Returns : A id [scalar]. Args : A id [scalar] (optional).
Title : name Usage : $obj->name( "r1" ); or print $obj->name(); Function: Set/get for the name. Returns : A name [scalar]. Args : A name [scalar] (optional).
Title : description Usage : $obj->description( "r1" ); or print $obj->description(); Function: Set/get for the description. Returns : A description [scalar]. Args : A description [scalar] (optional).
Title : add_synonym Usage : $obj->add_synonym( @synonyms ); or $obj->add_synonym( $synonym ); Function: Pushes one or more synonyms for the term term into the list of synonyms. Returns : Args : scalar(s).
Title : each_synonym() Usage : @gs = $obj->each_synonym(); Function: Returns a list of gene symbols [scalars, most likely Strings] associated with this phenotype. Returns : A list of scalars. Args :
Usage : $obj->purge_synonym(); Function: Deletes the list of synonyms to this term. Returns : A list of scalars. Args :
Each MeSH term belongs to a complex tree like hierarchy of terms where each term can appear multiple times. The immediately surrounding nodes of the tree are modelled in twigs.
See: Bio::Phenotype::MeSH::Twig.
Title : add_twig Usage : $obj->add_twig( @twigs ); or $obj->add_twig( $twig ); Function: Pushes one or more twig term names [scalars, most likely Strings] into the list of twigs. Returns : Args : scalar(s).
Title : each_twig() Usage : @gs = $obj->each_twig(); Function: Returns a list of gene symbols [scalars, most likely Strings] associated with this phenotype. Returns : A list of scalars. Args :
Usage : $obj->purge_twig(); Function: Deletes the list of twigs associated with this term. Returns : A list of scalars. Args :
Title : each_parent() Usage : @gs = $obj->each_parent(); Function: Returns a list of names of parents for this term Returns : A list of scalars. Args :
2018-10-27 | perl v5.26.2 |