exec | R Documentation |
This wrapper function is used to call all the federated analysis functions provided in the dsMO package suite.
exec(name, loginFD, logins, func, symbol, ...)
name |
A character string naming the function to be called, among federatePCA, federateRCCA, federateComDim, federateSNF, federateUMAP, federateHdbscan. |
loginFD |
Login information of the federated server, where the function
|
logins |
Login information of data repositories, where dsMOprimal is installed. |
func |
Definition of a function for preparation of raw data matrices. |
symbol |
The symbol provided when calling the function |
... |
Other arguments of the function |
data(logindata)
data(procFunc)
res.pca <- exec('federatePCA',
loginFD=logindata[1,],
logins=logindata[1:2,],
func=procFunc$SingleOmics,
symbol='rawDataX')
res.rcca <- exec('federateRCCA',
loginFD=logindata[1,],
logins=logindata[1:2,],
func=procFunc$BiOmics,
symbol=c('rawDataX', 'rawDataY'),
lambda1=0.001,
lambda2=0.001,
tune=FALSE)
res.comdim <- exec('federateComDim',
loginFD=logindata[3,],
logins=logindata[1:2,],
func=procFunc$BiOmics,
symbol=c('rawDataX', 'rawDataY'),
ncomp=2,
scale='none',
option='uniform')
res.snf <- exec('federateSNF',
loginFD=logindata[3,],
logins=logindata[1:2,],
func=procFunc$BiOmics,
symbol=c('rawDataX', 'rawDataY'))
res.umap <- exec('federateUMAP',
loginFD=logindata[3,],
logins=logindata[1:2,],
func=procFunc$BiOmics,
symbol=c('rawDataX', 'rawDataY'))
res.hdbscan <- exec('federateHdbscan',
loginFD=logindata[3,],
logins=logindata[1:2,],
func=procFunc$BiOmics,
symbol=c('rawDataX', 'rawDataY'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.