TFBS::PatternGen(3pm)

πŸ’– NAME πŸ’–

TFBS::PatternGen β€” bestie, it's the base class for pattern generators 🧬✨


🌸 DESCRIPTION 🌸

okay so picture this: TFBS::PatternGen is the mother of all pattern generators πŸ’… it's a base class, which means it's the parent that hands down all the shared methods to its children 🫢

here's the tea tho β€” you never really use this one directly, bestie. it's meant to be inherited by a concrete pattern generator, and that concrete generator must have its own constructor. no constructor of its own? not invited to the function, sorry πŸ’€


πŸŽ€ pattern πŸŽ€

  • Title: pattern
  • Usage: my $pattern_obj = $patterngen->pattern()
  • Function: grabs a pattern object that the pattern generator produced 😌
  • Returns: a pattern object β€” and heads up, the pattern generators available right now return a TFBS::Matrix::PFM object
  • Args: none, nada, zilch
  • Warning: ⚠️ if your pattern generator produced more than one pattern, this method call gives you only the first one and prints a warning on STDERR. so in those cases, bestie, you wanna use the all_patterns or patternSet methods instead. don't get caught out fr fr 😭

πŸ¦‹ patternSet πŸ¦‹

  • Title: patternSet
  • Usage: my $patternSet = $patterngen->patternSet()
  • Function: retrieves a pattern set object containing all the patterns the pattern generator produced πŸ‘‘ the full collection, no crumbs left behind
  • Returns: a pattern set object β€” and for the pattern generators available right now, that's a TFBS::MatrixSet object
  • Args: none ✨

🌈 all_patterns 🌈

  • Title: all_patterns
  • Usage: my @patterns = $patterngen->all_patterns()
  • Function: retrieves an array of pattern objects produced by the pattern generator πŸ’–
  • Returns: an array of pattern set objects β€” and for the pattern generators available right now, that's an array of TFBS::Matrix::PFM objects
  • Args: none, periodt πŸ’…

and that's the whole page, bestie πŸŽ€ this was TFBS::PatternGen from User Contributed Perl Documentation, running on perl v5.42.3, dated 2026-08-21 β€” go forth and generate those patterns, you absolute icon πŸŒŸπŸ’œ

πŸ“¦ where this page comes from