Visual Pruner: Visually guided cohort selection for observational studies
Using the app online (free)
The statcomp2 server is currently being updated and the url below will change.
Current url, will go down the week of July 23, 2018:
https://statcomp2.vanderbilt.edu/VisualPruner/
Expected new url:
https://statcomp2.app.vumc.org/VisualPruner/
Running the app on your local machine (also free; useful for large or secure datasets)
I am hoping to release an R package soon, which will make this easier. In the meantime, here are the steps you need to follow to run Visual Pruner in RStudio:
- Follow the link above to start Visual Pruner in your browser.
- Click on the "R" tab.
- Make sure you have all of the packages listed in the "R session information" panel.
- Copy the contents of the "server.R" panel, and save the file as "server.R" on your machine.
- Copy the contents of the "ui.R" panel, and save the file as "ui.R" on your machine, in the same directory as your new server.R file.
- Do the same thing with "plottingFunctions.R", "psFunctions.R", and "smdFunctions.R".
- Open the server.R or ui.R file in RStudio, and click the "runApp" button.
Or you can use the
runGitHub()
function from the
shiny
package, with arguments
repo= "VisualPruner", username= "LaurenSamuels"
.
Overview video
Presentation from useR! 2016
Introductory article
Samuels, L. R., & Greevy, R. A., Jr. (2018). Visual Pruner: Visually Guided Cohort Selection for Observational Studies. Observational Studies, 4, 150–170.
https://obsstudies.org/visual-pruner-visually-guided-cohort-selection-observational-studies/
Github repository
https://github.com/LaurenSamuels/VisualPruner
Questions, comments, requests
All are welcome. Please contact
Lauren Samuels.
--
LaurieSamuels - 01 Sep 2015