Use DSMolgenisArmadillo to analyse data shared in MOLGENIS Armadillo servers using DataSHIELD. DataSHIELD allows execution of a subset of analysis methods available in R. Methods such as:
library(dsBaseClient)library(DSMolgenisArmadillo)# specify server urlarmadillo_url<-"https://armadillo.test.molgenis.org"# get token from central authentication servertoken<-armadillo.get_token(armadillo_url)# build the login dataframebuilder<-DSI::newDSLoginBuilder()builder$append(server="armadillo",url=armadillo_url,token=token,table="workshop1/2_1-core-1_0/nonrep",driver="ArmadilloDriver")# create loginframelogindata<-builder$build()# login into serverconns<-datashield.login(logins=logindata,symbol="core_nonrep",variables=c("coh_country"),assign=TRUE)# calculate the meands.mean("core_nonrep$coh_country",datasources=conns)ds.histogram(x="core_nonrep$coh_country",datasources=conns)
Info
A researcher only has access to data if he/she has been granted access to this data (typically) by a data manager or administrator of a cohorts Armadillo server.