Skip to content

BaconZhou/MrSGUIDE

Repository files navigation

MrSGUIDE

Multiple Response Subgroup Identification using GUIDE algorithm.

The current package is still under heavily development.

For subgroup identification use GUIDE algorithm.

NOTE

The importance scoring method is different from GUIDE algorithm. Please see our latest paper Variable importance score about importance score and use GUIDE directly for this task.

Here are the links and paper for reference:

Loh, W.-Y. and Zhou, P. (2020), The GUIDE approach to subgroup identification. In Design and Analysis of Subgroups with Biopharmaceutical Applications, N. Ting, J. C. Cappelleri, S. Ho, and D.-G. Chen (Eds.) Springer, in press.

Loh, W.-Y., Cao, L. and Zhou, P. (2019), Subgroup identification for precision medicine: a comparative review of thirteen methods, Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, vol. 9, 5, e1326. DOI

Loh, W.-Y., Man, M. and Wang, S. (2019), Subgroups from regression trees with adjustment for prognostic effects and post-selection inference, Statistics in Medicine, vol. 38, 545-557. DOI

Loh, W.-Y., Fu, H., Man, M., Champion, V. and Yu, M. (2016), Identification of subgroups with differential treatment effects for longitudinal and multiresponse variables, Statistics in Medicine, vol. 35, 4837-4855. DOI

Dependencies

R packages:

  • Rcpp
  • RcppArmardillo
  • BH

Package install

library(devtools)
install_github('baconzhou/MrSGUIDE')

MacOS

Please refer to the following link if you have problem with install the package from source.

  1. R Compiler Tools for Rcpp on macOS
  2. Rcpp FAQ section 2.10

Here are my personal set up for macOS building MrSGUIDE used homebrew for libomp

brew update
brew install llvm libomp gcc

In the ~/.R/Makevars file

CC=/usr/local/opt/llvm/bin/clang
CXX=/usr/local/opt/llvm/bin/clang++
CXX1X=/usr/local/opt/llvm/bin/clang++
CXX11=/usr/local/opt/llvm/bin/clang++

FLIBS=-L/usr/local/Cellar/gcc/8.2.0 -L/usr/local/Cellar/gcc/8.2.0/lib/gcc/8 -lgfortran -lquadmath -lm