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

App::Fasops::Common - collection of common subroutines

SYNOPSIS

    use App::Fasops::Common;

    my $length = App::Fasops::Common::seq_length("AGCTTT---CCA");

METHODS

calc_ld

    my ( $r, $dprime ) = App::Fasops::Common::calc_ld("111000", "111000");

Returns the r and D' (Hill and Robertson, 1968) of two polymorphic sites.

https://cran.r-project.org/web/packages/genetics/genetics.pdf