Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.21 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.21 KB

R Build and Checks

R DISCVR

This in an R package that provides helper functions to query data in LabKey/DISCVR modules. This is mainly for internal use by the Bimber Lab.

# Install requirements.  Other dependencies will be downloaded automatically
install.packages(c('devtools', 'BiocManager', 'remotes'), dependencies = TRUE, ask = FALSE)

# Updating your Rprofile (i.e. ~/.Rprofile), with the following line will ensure install.packages() pulls from Bioconductor repos:
local({options(repos = BiocManager::repositories())})

# Install latest version:
devtools::install_github(repo = 'bimberlabinternal/Rdiscvr', dependencies = TRUE, upgrade = 'always')

Once installed, you will need to set the default baseUrl and defaultFolder:

library(Rdiscvr)
    
Rdiscvr::SetLabKeyDefaults(baseUrl = 'https://myserver.com', defaultFolder = 'Labs/Bimber')

Also, interaction between RDiscvr and the LabKey server require authentication. You can setup a .netrc file using these instructions.