Learn R Programming

cocoreg (version 0.1.1)

BGFA_cocoreg_interface: Apply GFA using the same interface as cocoreg()

Description

Note: if K is too high GFA() might not converge in a meaningful time or the computation may mysteriously crash.

Usage

BGFA_cocoreg_interface(df_list, K = 8, Nrep = 2, threshold = 0.001)

Arguments

df_list
[1,m] list of data.frames, Input data to GFA in COCOREG format
K
[1,1] int, (Maximum) number of GFA components
Nrep
[1,1] int, Number of random initialization used for learning the model
threshold
[1,1] double, GFA model trimming threshold

Value

A list with elements:
$data:
[1,m] list of data.frames, Original data reconstructed using only those latent components that are active in all datasets
$model:
a list, Non-trimmed output of CCAGFA::GFA()
$dataid:
string, Dataset identifier string
$method:
string, Analysis method identifier string
$wall_time_taken:
[1,1] double, Time taken to run the analysis in seconds