~ubuntu-branches/ubuntu/oneiric/bioperl/oneiric

« back to all changes in this revision

Viewing changes to Bio/Biblio/MedlineArticle.pm

  • Committer: Bazaar Package Importer
  • Author(s): Matt Hope
  • Date: 2004-04-18 14:24:11 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040418142411-gr92uexquw4w8liq
Tags: 1.4-1
* New upstream release
* Examples and working code are installed by default to usr/bin,
  this has been moved to usr/share/doc/bioperl/bin

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: MedlineArticle.pm,v 1.2.2.1 2002/03/11 16:02:34 jason Exp $
 
1
# $Id: MedlineArticle.pm,v 1.7 2003/05/30 15:33:00 jason Exp $
2
2
#
3
3
# BioPerl module for Bio::Biblio::MedlineArticle
4
4
#
9
9
 
10
10
=head1 NAME
11
11
 
12
 
Bio::Biblio::edlineArticle - Representation of a MEDLINE article
 
12
Bio::Biblio::MedlineArticle - Representation of a MEDLINE article
13
13
 
14
14
=head1 SYNOPSIS
15
15
 
16
 
  $obj = new Bio::Biblio::MedlineArticle (-mesh_headings => ...);
 
16
  $obj = new Bio::Biblio::MedlineArticle (-mesh_headings =>
 
17
                                            #array ref of hashes
 
18
                                         );
17
19
 
18
20
  # how are Mesh terms stored:
19
21
  use Data::Dumper;
20
22
  print Data::Dumper->Dump ( [$obj->mesh_headings], ['MeshHeadings']);
21
23
 
22
 
  It produces (something like) this:
23
 
  'MeshHeadings' => [
24
 
         { 'descriptorName' => 'Adult' },
25
 
         { 'descriptorName' => 'Cardiovascular Diseases',
26
 
           'subHeadings'    => [ { 'subHeading' => 'etiology' },
27
 
                                 { 'majorTopic' => 'Y',
28
 
                                   'subHeading' => 'mortality' } ] },
29
 
         { 'descriptorName' => 'Child Development',
30
 
           'subHeadings'    => [ { 'majorTopic' => 'Y',
31
 
                                   'subHeading' => 'physiology' } ] },
32
 
         { 'descriptorName' => 'Human' },
33
 
        ]
 
24
  #It produces (something like) this:
 
25
  #'MeshHeadings' => [
 
26
  #       { 'descriptorName' => 'Adult' },
 
27
  #       { 'descriptorName' => 'Cardiovascular Diseases',
 
28
  #         'subHeadings'    => [ { 'subHeading' => 'etiology' },
 
29
  #                               { 'majorTopic' => 'Y',
 
30
  #                                 'subHeading' => 'mortality' } ] },
 
31
  #       { 'descriptorName' => 'Child Development',
 
32
  #         'subHeadings'    => [ { 'majorTopic' => 'Y',
 
33
  #                                 'subHeading' => 'physiology' } ] },
 
34
  #       { 'descriptorName' => 'Human' },
 
35
  #      ]
34
36
 
35
37
=head1 DESCRIPTION
36
38
 
78
80
 
79
81
=head1 SEE ALSO
80
82
 
81
 
=over
 
83
=over 4
82
84
 
83
85
=item *
84
86
 
108
110
email or the web:
109
111
 
110
112
  bioperl-bugs@bioperl.org
111
 
  http://bioperl.org/bioperl-bugs/
 
113
  http://bugzilla.bioperl.org/
112
114
 
113
115
=head1 AUTHORS
114
116