logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Bio::Chado::NaturalDiversity::Reports - Collection of functions for formatting Chado stock related data

Description

       A collection of functions for formatting Chado stock related data in different data structures which can
       be useful for passing to different programs and software.  Because the Chado stock table is the key for
       storing samples subjected to genotyping and phenotyping experiments, it interacts with several other
       Chado modules, such as NaturalDiversity for storing the experiment data, Project for storing the metadata
       about the experiments, Phenotype for the phenotyping values Genotype for the genotyping values.

       This module generates several reports for easier access to such data.

       Note that all data reports heavily rely on the Natural Diversity schema.  The results in each report may
       differ based on how the experiment data is stored in the databse.

       There is no one correct way of loading phenotyping and genotyping data in this module, however there are
       some examples for 'best practice' in the GMOD Wiki (http://gmod.org/wiki/Chado_Natural_Diversity_Module)

Methods

new
       Make a new Reports object.

   phenotypes_by_trait
         Usage: $self->phenotypes_by_trait($phenotype_rs , { %args } )
         Desc:  generate a report of phenotype values by trait name/accession
         Args:  an arrayref of L<Bio::Chado::Schema::Result::Phenotype::Phenotype> ResultSets
                [optional] list of args to filter the report. Currently supported args are

         Ret:   arrayref of tab delimited data

perl v5.32.0                                       2020-12-04              Bio::Chado::Na...ersity::Reports(3pm)

Name

       Bio::Chado::NaturalDiversity::Reports - Collection of functions for formatting Chado stock related data

Synopsis

         use Bio::Chado::NaturalDiversity::Reports

         my $sreport = Bio::Chado::NaturalDiversity::Reports->new;
         my $data = $sreport->phenotypes_by_trait($phenotypes);

See Also