Learn R Programming

MrSGUIDE

Multiple Response Subgroup Identification using GUIDE algorithm.

The current package is still under heavily development.

For subgroup identification use GUIDE algorithm.

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 po3st-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

Copy Link

Version

Install

install.packages('MrSGUIDE')

Monthly Downloads

54

Version

0.1.2

License

GPL-3

Maintainer

Peigen Zhou

Last Published

October 15th, 2020

Functions in MrSGUIDE (0.1.2)

predictTree

Predict the node id of MrSGUIDE regression tree
printTree

Print fitted regression tree
reexports

Objects exported from other packages
writeTex

Write Latex file for GUIDE regression Tree
MrSImp

Variable importance for predictive variables
MrSFit

Multiple responses subgroup identification
plotTree

Plot MrSGUIDE regression tree