Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.07 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.07 KB

sprint_7D_longbow

longbow workflow for KI sprint 7D

Setting up Longbow to run analyses:

  1. Clone sprint 7D longbow and longbow risk factors repositories
  2. in R, run the following:
  • library(devtools)
  • install(longbowRiskFactors)
  1. Ensure you have a GHAP node running.
  • Obtain the IP address by logging into the GHAP portal.
  • Click on Create Virtual Environment
  • Select M&A Linux (for Mac)
  • Wait until status says "running"
  1. Copy IP address to SSH into this node: ssh GHAP_username@IP_address

  2. Obtain a Longbow API token by logging into longbowapp.com (select API token)

  3. Create a cluster_credentials.json file according to these instructions:

  1. If the data has been updated on GHAP, pull the changes from Github:
  • cd ~/datasets/UCB-SuperLearner/
  • git pull
  1. Run run_batch.R script
  • Change the path in setwd() if needed.
  1. Add and commit output to Github