[Bio] / Sprout / SproutSubsys.pm Repository:
ViewVC logotype

Diff of /Sprout/SproutSubsys.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9, Tue Oct 17 18:45:58 2006 UTC revision 1.10, Tue Apr 10 06:16:22 2007 UTC
# Line 559  Line 559 
559      return @retVal;      return @retVal;
560  }  }
561    
562    =head3 get_subsetR
563    
564    C<< my @genomes = $sub->get_subsetR($subName); >>
565    
566    Return the genomes in the row subset indicated by the specified subset name.
567    
568    =over 4
569    
570    =item subName
571    
572    Name of the desired row subset, or C<All> to get all of the rows.
573    
574    =item RETURN
575    
576    Returns a list of genome IDs corresponding to the named subset.
577    
578    =back
579    
580    =cut
581    
582    sub get_subsetR {
583        # Get the parameters.
584        my ($self, $subName) = @_;
585        # Look for the specified row subset in the database. A row subset is identified using
586        # the subsystem name and the subset name. The special subset "All" is actually
587        # represented in the database, so we don't need to check for it.
588        my @rows = $self->{sprout}->GetFlat(['ConsistsOfGenomes'], "ConsistsOfGenomes(from-link) = ?",
589                                            ["$self->{name}:$subName"], 'ConsistsOfGenomes(to-link)');
590        return @rows;
591    }
592    
593  =head3 get_diagrams  =head3 get_diagrams
594    

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3