Skip to content

longbow workflow for KI sprint 7D

Notifications You must be signed in to change notification settings

ki-analysis/sprint_7D_longbow

 
 

Repository files navigation

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

About

longbow workflow for KI sprint 7D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%