Skip to content

A Bayesian Approach for Investigating the Pharmacogenetics of Combination Antiretroviral Therapy in People with HIV

Notifications You must be signed in to change notification settings

YunheLiuMCMC/BayesPharmacogenetics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

BayesPharmacogenetics

R data and code for the paper: "A Bayesian Approach for Investigating the Pharmacogenetics of Combination Antiretroviral Therapy in People with HIV".

Instructions for Use

This repository contains the R code generating a simulated dataset that has similar design as the real data in the paper "A Bayesian Approach for Investigating the Pharmacogenetics of Combination Antiretroviral Therapy in People with HIV" and the R code implementing the proposed method.

In the folder "Data_and_Code":

  • The R data file "Treatment_History_Data.Rdata" contains the treatment history data for n=200 individuals randomly sampled from the Women's Interagency HIV Study (WIHS) dataset, which will be used to generate a simulated dataset in the R script "Data_Generate.R";

  • The R script “MCMC_R_Functions.R” provides R functions used for MCMC, the Rcpp script “MCMC_Rcpp_Functions.cpp” provides Rcpp functions used for MCMC, and the R script "MCMC_Update_Tree" provides R functions for tree-related MCMC steps;

  • The R script "MCMC_Main.R" runs the MCMC algorithm for the proposed method.

About

A Bayesian Approach for Investigating the Pharmacogenetics of Combination Antiretroviral Therapy in People with HIV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 94.7%
  • C++ 5.3%