GO::Utils::General.3pm

Langue: en

Autres versions - même langue

Version: 2008-05-13 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

GO::Utils::General - provides some general utilities for clients of other GO classes

SYNOPSIS

   use GO::Utils::General qw (CategorizeGenes);
 
   CategorizeGenes(annotation  => $annotation,
                   genes       => \@genes,
                   ambiguous   => \@ambiguous,
                   unambiguous => \@unambiguous,
                   notFound    => \@notFound);
 
 

CategorizeGenes

CategorizeGenes categorizes a set of genes into three categories, whether they are ambiguous, whether they are not found, or whether they are unambiguous. The category to which they belong is determined by using an annotation provider.

Usage:

   use GO::Utils::General qw (CategorizeGenes);
 
   CategorizeGenes(annotation  => $annotation,
                   genes       => \@genes,
                   ambiguous   => \@ambiguous,
                   unambiguous => \@unambiguous,
                   notFound    => \@notFound);
 
 

All the above named arguments are required:

annotation : A GO::AnnotationProvider concrete subclass instance genes : A reference to an array of gene names

The remaining arguments should be empty arrays, passed in by reference, that will be populated by this function.