The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

MyBioinfo::Math - Math routines used for bioinformatics.

SYNOPSIS

  use MyBioinfo::Common qw( gtest_gof chisqtest_gof );

  my ($stat, $dof, $pval) = &gtest_gof(\@numbers);  # Goodness-of-fit test by G-test.
  my ($stat, $dof, $pval) = &gtest_gof(\@numbers, \@prob);  # Give a vector of probabilities.
  my ($stat, $dof, $pval) = &chisqtest_gof(\@numbers);  # Goodness-of-fit test by Chi-square test.
  my ($stat, $dof, $pval) = &chisqtest_gof(\@numbers, \@prob);  # Give a vector of probabilities.

DESCRIPTION

  Some convenient math functions that are used in diffReps. 

EXPORT

  None.

SEE ALSO

  MyBioinfo::Common
  MyBioinfo::NBTest

AUTHOR

Li Shen, <shenli.sam@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2010-2013 by Li Shen

diffReps goes under GNU GPL v3: http://www.gnu.org/licenses/gpl.html