HPGEEs (Simultaneous homogeneity pursuit and variable selection in regression models for multivariate abundance data)
This repository code contain template code associated with the manuscript "Simultaneous homogeneity pursuit and variable selection in regression models for multivariate abundance data" by Hui, Maestrini, and Welsh.
There are currently three directories in this repository:
-
code
, which containsR
scripts implementing the proposed HPGEE method along with other scripts for simulating multivariate abundance data and fitting adaptive lasso GEEs. Many of the functions in these scripts contain pseudo-help files; -
simulations/setting1
, which contains template scripts to implement the simulation study in the manuscript. Users are recommended to start here by examining one ofsetting1_xxx125.R
scripts to understand how to use HPGEE, among other methods. -
application_GBR
, which contains scripts applying the proposed method to the Great Barrier Reef data in the manuscript. Note the original data sources is from Pichler et al., 2007. We provide an example dataset that possess the same structure as the actual data used for analysis in the manuscript, but the responses have been masked to alter their original values. Also contained in this folder are a set of html files ofplotly
objects showing the regularization path (for the fit to the actual dataset), and hence the clustering/variable selection across the species for each covariate, as a function of the tuning parameter.
If you find something that looks like a bug/issue, please use Github issues and post it up there. As much as possible, please include in the issue:
- A description of the bug/issue;
- Paste-able code along with some comments that reproduces the problem e.g., using the reprex package. If you also have an idea of how to fix the problem (Francis tends to make a lot of mistakes in my code, so some may be easy amendments!), then that is also much appreciated.
- Required data files etc...
Alternatively, please contact the corresponding author at [email protected]