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::Roary::PresenceAbsenceMatrix - Create a matrix with presence and absence

Author

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

Name

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

Synopsis

       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;

Version

       version 3.13.0

See Also