THE SAME REA, NOW WITH R
This analytical tool enables the determination of drug combination effects (i.e., synergy, additivity, or antagonism) at local, regional, and global levels without knowing the inhibition mechanism of drugs. It is written in R, and packaged as a binary file. For more details please refer to the MATLAB version or our Bioinformatics paper.
To install reaR function from the zip file, open R/RStudio and type:
install.packages('C:/Users/4dsoftware/REA_0.1.0.zip', repos = NULL, type = "win.binary")
REA requires two packages to be installed with your R environment, rgl and wvtool. They are available on CRAN. To install, simply install.packages('rgl') and install.packages('wvtool').
To use REA, one can load it just as other packages using library(). Then load the data whose format should be strictly identical to the example data file. After that, simply run REA with the loaded data, and a draw parameter that controls plotters, 0 for no plot, 2 for 2-D plot, and 3 for 3-D plot.
library('REA')
data = read.csv('pentamidine_chlorpromazine.csv',header=F)
ff = rea(data = data,draw = 2)
This R binary has identical structure as the MATLAB version of REA, and they should give identical results. From our tests, they do yield identical results for 4 datasets we have. If you find out a dataset with which the two versions yield different results, please leave a note.
- Du, D., et al, Response Envelope Analysis for Quantitative Evaluation of Drug Combinations, Bioinformatics, (2019)
- https://github.com/4dsoftware/rea