Running the Zalpha functions

Use this function to run all the statistics automatically

Zalpha_all()

Runs all the statistics in the zalpha package

Create an LD profile

Use this function to create an LD profile. An LD profile is required if you want to adjust for expected LD.

create_LDprofile()

Creates an LD profile

Zalpha functions

These are all the Zalpha functions.

Zalpha()

Runs the Zalpha function

Zalpha_expected()

Runs the Zalpha function on the expected r-squared values for the region

Zalpha_rsq_over_expected()

Runs the Zalpha function on the r-squared values over the expected r-squared values for the region

Zalpha_log_rsq_over_expected()

Runs the Zalpha function on the log of the r-squared values over the expected r-squared values for the region

Zalpha_Zscore()

Runs the Zalpha function using the Z score of the r-squared values for the region

Zalpha_BetaCDF()

Runs the Zalpha function using a cumulative beta distribution function on the r-squared values for the region

Zbeta functions

These are all the Zbeta functions.

Zbeta()

Runs the Zbeta function

Zbeta_expected()

Runs the Zbeta function on the expected r-squared values for the region

Zbeta_rsq_over_expected()

Runs the Zbeta function on the r-squared values over the expected r-squared values for the region

Zbeta_log_rsq_over_expected()

Runs the Zbeta function on the log of the r-squared values over the expected r-squared values for the region

Zbeta_Zscore()

Runs the Zbeta function using the Z score of the r-squared values for the region

Zbeta_BetaCDF()

Runs the Zbeta function using a cumulative beta distribution function on the r-squared values for the region

Diversity functions

These are the diversity functions.

LR()

Runs the LR function

L_plus_R()

Runs the L_plus_R function

Example datasets

Two example datasets that come with the package.

snps

Dataset containing details on simulated SNPs

LDprofile

Dataset containing an example LD profile