Bio::C...Reports(3pm)

🌸 NAME 🌸

Bio::Chado::NaturalDiversity::Reports β€” a whole lil collection of functions that format your Chado stock data so it actually looks cute and usable πŸ’…


✨ SYNOPSIS ✨

use Bio::Chado::NaturalDiversity::Reports

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

like. that's it. that's the whole vibe. go off 🫢


πŸ’– DESCRIPTION πŸ’–

okay so bestie, this is a collection of functions that format Chado stock-related data into different data structures, which is lowkey so useful when you wanna pass stuff off to other programs and software. iconic behaviour honestly.

and the reason it's like this? because the Chado stock table is THE key for storing samples that get put through genotyping and phenotyping experiments, so it's main-character-adjacent to a bunch of other Chado modules, no cap:

  • 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 so you can actually get to that data without losing your mind ✨

⚠️ heads up: all the 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 database. it's giving "your mileage may vary" fr fr 😭

ngl there is no one correct way of loading phenotyping and genotyping data in this module. but there ARE some examples for 'best practice' in the GMOD Wiki, right here: http://gmod.org/wiki/Chado_Natural_Diversity_Module β€” go read it, it's giving helpful πŸ‘‘


πŸŽ€ METHODS πŸŽ€

πŸ’« new

Make a new Reports object. that's the whole thing. a lil baby object, fresh out the box πŸ¦‹

🌈 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

so like, what this does: it generates a report of phenotype values by trait name/accession 🌸

what you hand it: an arrayref of L<Bio::Chado::Schema::Result::Phenotype::Phenotype> ResultSets, plus β€” optionally β€” a list of args to filter the report. Currently supported args are… and then it just. doesn't say. the list is empty bestie, that's just how the page is, we don't make the rules πŸ’€

what you get back: an arrayref of tab delimited data. tabs!! iconic separator, honestly πŸ”₯


User Contributed Perl Documentation 🫢 this lil page is perl v5.32.0, dated 2020-12-04, and yeah it's the Bio::C...Reports(3pm) page β€” shoutout to the truncation, she's mysterious. anyway mwah, go format some stock data, you got this πŸ’œβœ¨

πŸ“¦ where this page comes from