DOKK / manpages / debian 12 / roary / Bio::Roary::PresenceAbsenceMatrix.3pm.en
Bio::Roary::PresenceAbsenceMatrix(3pm) User Contributed Perl Documentation Bio::Roary::PresenceAbsenceMatrix(3pm)

Bio::Roary::PresenceAbsenceMatrix - Create a matrix with presence and absence

version 3.13.0

Create a matrix with presence and absence. Since its computationally intensive to generate the inputs, calculate them once in the GroupStatistics module and pass them through.
use Bio::Roary::PresenceAbsenceMatrix;

   my $obj = Bio::Roary::PresenceAbsenceMatrix->new(
     annotate_groups_obj => $annotate_groups_obj,
     output_filename     => 'gene_presence_absence.Rtab',
     sorted_file_names   => $sorted_file_names,
     groups_to_files     => $groups_to_files,
     num_files_in_groups => $num_files_in_groups,
     sample_headers      => $sample_headers,
   );
   $obj->create_matrix_file;

Andrew J. Page <ap13@sanger.ac.uk>

This software is Copyright (c) 2013 by Wellcome Trust Sanger Institute.

This is free software, licensed under:

  The GNU General Public License, Version 3, June 2007
2019-11-08 perl v5.30.0