A flexible and robust joint test of the single nucleotide polymorphism (SNP) main effect and genotype-by-treatment interaction effect for continuous and binary endpoints. Two analytic procedures, Cauchy weighted joint test (CWOT) and adaptively weighted joint test (AWOT), are proposed to accurately calculate the joint test p-value. The proposed methods are evaluated through extensive simulations under various scenarios. The results show that the proposed AWOT and CWOT control type I error well and outperform existing methods in detecting the most interesting signal patterns in pharmacogenetics (PGx) association studies. For reference, see Hong Zhang, Devan Mehrotra and Judong Shen (2022) <doi:10.13140/RG.2.2.28323.53280>.

Computes the convex hull in arbitrary dimension, based on the
    Qhull library (<http://www.qhull.org>). The package provides a
    complete description of the convex hull: edges, ridges, facets,
    adjacencies. Triangulation is optional.

Recent developments in modern coexistence theory have
    advanced our understanding on how species are able to persist and
    co-occur with other species at varying abundances. However, applying
    this mathematical framework to empirical data is still challenging,
    precluding a larger adoption of the theoretical tools developed by
    empiricists. This package provides a complete toolbox for modelling
    interaction effects between species, and calculate fitness and niche
    differences.  The functions are flexible, may accept covariates, and
    different fitting algorithms can be used.  A full description of the
    underlying methods is available in García-Callejas, D., Godoy, O., and
    Bartomeus, I. (2020) <doi:10.1111/2041-210X.13443>.  Furthermore, the
    package provides a series of functions to calculate dynamics for
    stage-structured populations across sites.

Extend 'cxxfunction' by saving the dynamic shared objects
        for reusing across R sessions.

A suite of functions for analysing cycling data.