Bio::O...actory(3pm)

πŸ“¦
version 1.7.8 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’– Bio::O...actory(3pm) β€” bestie edition πŸ’–

okay so this is the Bio::O...actory(3pm) page from the User Contributed Perl Documentation, and no cap it's short but it's important. sit with me, grab a boba, we're gonna get through it together πŸ§‹βœ¨


✨ NAME ✨

Bio::Ontology::RelationshipFactory β€” it's the little factory that instantiates a brand new Bio::Ontology::RelationshipI (or any class derived from it) for you. it's giving assembly line but make it biology 🌸


✨ SYNOPSIS ✨

use Bio::Ontology::RelationshipFactory;

# the default type is Bio::Ontology::Relationship
my $factory = Bio::Ontology::RelationshipFactory->new(
                             -type => 'Bio::Ontology::GOterm');
my $clu = $factory->create_object(-name => 'peroxisome',
                                  -ontology => 'Gene Ontology',
                                  -identifier => 'GO:0005777');

like… look at her. two lines and a comment and she's already doing the most πŸ’… and yes the comment matters, bestie: the default type is Bio::Ontology::Relationship, so if you don't pass -type that's what you get, periodt.


✨ DESCRIPTION ✨

so basically this object builds Bio::Ontology::RelationshipI objects in a generic way. that's the whole vibe. one factory, many possible relationship classes, she doesn't judge, she just constructs 🌈


🫢 FEEDBACK 🫢

πŸ“¬ Mailing Lists

user feedback is like, an integral part of the evolution of this and every other Bioperl module, fr fr. so if you have comments or suggestions, please send them to the Bioperl mailing list. your participation is so appreciated, genuinely πŸ₯Ή

bioperl-l@bioperl.org                  - General discussion
http://bioperl.org/wiki/Mailing_lists  - About the mailing lists

πŸ›Ÿ Support

okay important one. usage questions and support issues go to the mailing list:

bioperl-l@bioperl.org

and not straight to the module maintainer, bestie. i know, i know, you wanna DM, but no πŸ™ˆ there are tons of experienced and responsive experts on the list who will look at your problem and address it quickly. also please include a thorough description of the problem with code and data examples if at all possible β€” the more context the better, that's the whole assignment πŸ‘‘

πŸ› Reporting Bugs

found a bug? iconic of you. report it to the Bioperl bug tracking system so we can keep track of bugs and their resolution together. bug reports can be submitted via the web:

https://github.com/bioperl/bioperl-live/issues

πŸ‘‘ AUTHOR - Hilmar Lapp

Email: hlapp at gmx.net


πŸ“– APPENDIX

the rest of the documentation details each of the object methods. heads up: internal methods are usually preceded with a _ β€” so if you see an underscore, that's the backstage area, iykyk 🎭

πŸ›  new

Title   : new
Usage   : my $obj = Bio::Ontology::RelationshipFactory->new();
Function: Builds a new Bio::Ontology::RelationshipFactory object
Returns : Bio::Ontology::RelationshipFactory
Args    : -type => string, name of a Bio::Ontology::RelationshipI
                   derived class.
                   The default is Bio::Ontology::Relationship.

so: it builds a new Bio::Ontology::RelationshipFactory object, it returns a Bio::Ontology::RelationshipFactory, and for args you hand it -type, a string that is the name of a class derived from Bio::Ontology::RelationshipI. and again, bestie, because it bears repeating: the default is Bio::Ontology::Relationship ⭐

See Bio::Ontology::Relationship, Bio::Ontology::RelationshipI.


🫧 reminder: the vibe is mine, the facts are the original author's. nothing here was invented, everything above was already in the page, i just put a bow on it πŸŽ€

and that's the whole page, bestie!! go forth and construct your relationship objects, you absolute main character πŸ’–βœ¨ this was Bio::O...actory(3pm) from perl v5.32.1, dated 2021-08-15, and honestly? she ate. slay, bye πŸ¦‹πŸ’…

πŸ“¦ where this page comes from