federateSNF | R Documentation |
Function for SNF federated analysis on the virtual cohort combining multiple cohorts.
federateSNF(loginFD,
logins,
func,
symbol,
metric = 'euclidean',
K = 20,
sigma = 0.5,
t = 20,
chunk = 500L,
mc.cores = 1,
TOL = .Machine$double.eps,
width.cutoff = 500L)
loginFD |
Login information of the FD server |
logins |
Login information of data repositories |
func |
Encoded definition of a function for preparation of raw data matrices. Two arguments are required: conns (list of DSConnection-classes), symbol (name of the R symbol) (see datashield.assign). |
symbol |
Encoded vector of names of the R symbols to assign in the
DataSHIELD R session on each server in |
metric |
Either |
K |
Number of neighbors in K-nearest neighbors part of the algorithm,
see |
sigma |
Variance for local model, see |
t |
Number of iterations for the diffusion process,
see |
chunk |
Size of chunks into what the resulting matrix is partitioned. Default, 500L. |
mc.cores |
Number of cores for parallel computing. Default, 1. |
TOL |
Tolerance of 0. Default, |
width.cutoff |
Default, 500L. See |
The overall status matrix derived W.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.