distcomp: Computations over Distributed Data without Aggregation

Implementing algorithms and fitting models when sites (possibly remote) share computation summaries rather than actual data over HTTP with a master R process (using 'opencpu', for example). A stratified Cox model and a singular value decomposition are provided. The former makes direct use of code from the R 'survival' package. (That is, the underlying Cox model code is derived from that in the R 'survival' package.) Sites may provide data via several means: CSV files, Redcap API, etc. An extensible design allows for new methods to be added in the future. Web applications are provided (via 'shiny') for the implemented methods to help in designing and deploying the computations.

Install the latest version of this package by entering the following in R:
install.packages("distcomp")
AuthorBalasubramanian Narasimhan [aut, cre], Marina Bendersky [aut], Sam Gross [aut], Terry M. Therneau [ctb], Thomas Lumley [ctb]
Date of publication2017-04-27 23:12:44 UTC
MaintainerBalasubramanian Narasimhan <naras@stat.Stanford.EDU>
LicenseLGPL (>= 2)
Version1.0
http://arxiv.org/abs/1412.6890

View on CRAN

Man pages

availableComputations: Return the currently available (implemented) computations

availableDataSources: Return currently implemented data sources

CoxMaster: Create a master object to control worker objects generated by...

CoxWorker: Create a worker object for use as a worker with master...

createInstanceObject: Given the definition identifier of an object, instantiate and...

dccoxph: Functions copied and modified from survival package

defineNewComputation: Define a new computation

destroyInstanceObject: Destroy an instance object given its identifier

distcomp: Distributed Computing with R

distcomp-internal: Make an appropriate opencpu URL for a specified function and...

distcompSetup: Setup a workspace and configuration for a distributed...

executeMethod: Given the id of a serialized object, invoke a method on the...

generateId: Generate an identifier for an object

getComputationInfo: Get the value of a variable from the global store

getConfig: Return the workspace and configuration setup values

makeDefinition: Make a computation definition given the computation type

makeMaster: Make a master object given a definition

makeWorker: Make a worker object given a definition and data

resetComputationInfo: Clear the contents of the global store

runDistcompApp: Run a specified distcomp web application

saveNewComputation: Save a computation instance, given the computation...

setComputationInfo: Set a name to a value in a global variable

setupMaster: Setup a computation master

setupWorker: Setup a worker site

SVDMaster: Create a master object to control worker objects generated by...

SVDWorker: Create a worker object for use as a worker with master...

uploadNewComputation: Upload a new computation and data to an opencpu server

writeCode: Write the code necessary to run a master process

Functions

availableComputations Man page
availableDataSources Man page
CoxMaster Man page
CoxWorker Man page
createInstanceObject Man page
dccoxph Man page
dccoxph.fit Man page
defineNewComputation Man page
.defnOK Man page
.deSerialize Man page
destroyInstanceObject Man page
distcomp Man page
distcomp-package Man page
distcompSetup Man page
executeMethod Man page
generateId Man page
getComputationInfo Man page
getConfig Man page
makeDefinition Man page
makeMaster Man page
.makeOpencpuURL Man page
makeWorker Man page
resetComputationInfo Man page
runDistcompApp Man page
saveNewComputation Man page
setComputationInfo Man page
setupMaster Man page
setupWorker Man page
SVDMaster Man page
SVDWorker Man page
uploadNewComputation Man page
writeCode Man page

Files

inst
inst/CITATION
inst/ex
inst/ex/SVDTestDefn.rds
inst/ex/README.Rmd
inst/ex/SVDMaster.Rout
inst/ex/uis-example.Rout
inst/ex/STCoxMaster.Rout
inst/ex/uis-example.R inst/ex/STCoxMaster.R
inst/ex/uis-site2.csv
inst/ex/STCoxTest.rds
inst/ex/README.md
inst/ex/uis.RDS
inst/ex/SVDMaster.R inst/ex/svd-example.R
inst/ex/svd-site1.csv
inst/ex/Rprofile
inst/ex/svd-site2.csv
inst/ex/svd-site3.csv
inst/ex/README.html
inst/ex/svd-example.Rout
inst/ex/SVDSetup.Rout
inst/ex/uis-site1.csv
inst/ex/STCoxSetup.Rout
inst/doc_src
inst/doc_src/examples.md
inst/doc_src/examples.Rmd
inst/doc_src/prostate.RDS
inst/COPYRIGHTS
inst/webApps
inst/webApps/setupWorkerApp
inst/webApps/setupWorkerApp/ui.R inst/webApps/setupWorkerApp/server.R
inst/webApps/setupWorkerApp/setupSVDWorker
inst/webApps/setupWorkerApp/setupSVDWorker/ui.R inst/webApps/setupWorkerApp/setupSVDWorker/server.R
inst/webApps/setupWorkerApp/setupCoxWorker
inst/webApps/setupWorkerApp/setupCoxWorker/ui.R inst/webApps/setupWorkerApp/setupCoxWorker/server.R
inst/webApps/setupMasterApp
inst/webApps/setupMasterApp/ui.R inst/webApps/setupMasterApp/server.R
inst/webApps/definitionApp
inst/webApps/definitionApp/ui.R inst/webApps/definitionApp/server.R
inst/webApps/definitionApp/defineNewCoxModel
inst/webApps/definitionApp/defineNewCoxModel/ui.R inst/webApps/definitionApp/defineNewCoxModel/server.R
inst/webApps/definitionApp/defineNewSVDModel
inst/webApps/definitionApp/defineNewSVDModel/ui.R inst/webApps/definitionApp/defineNewSVDModel/server.R
inst/doc
inst/doc/examples.html
inst/doc/examples.pdf
src
src/coxcount1.c
src/chinv2.c
src/survS.h
src/chsolve2.c
src/survproto.h
src/coxmart.c
src/coxfit6.c
src/cholesky2.c
src/init.c
src/dmatrix.c
NAMESPACE
R
R/coxstuff.R R/distcomp.R R/svdstuff.R R/survivalstuff.R R/firstlib.R
README.md
MD5
DESCRIPTION
man
man/resetComputationInfo.Rd man/writeCode.Rd man/distcomp.Rd man/getComputationInfo.Rd man/makeDefinition.Rd man/distcompSetup.Rd man/createInstanceObject.Rd man/CoxMaster.Rd man/setupMaster.Rd man/CoxWorker.Rd man/distcomp-internal.Rd man/setupWorker.Rd man/executeMethod.Rd man/makeWorker.Rd man/defineNewComputation.Rd man/dccoxph.Rd man/generateId.Rd man/setComputationInfo.Rd man/makeMaster.Rd man/uploadNewComputation.Rd man/SVDWorker.Rd man/SVDMaster.Rd man/runDistcompApp.Rd man/getConfig.Rd man/availableComputations.Rd man/availableDataSources.Rd man/destroyInstanceObject.Rd man/saveNewComputation.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.