Description Usage Arguments Value Examples
This is the main function for construncting a pESCA model on multiple data sets. The potential different data types in these data sets are tackled by the assumption of exponential family distribution. Gaussian for quantitative data, Bernoulli for binary data and Poisson for count data. Although the option for count data using Poisson distribution is included in the algorithm, we recommend to do variance stabilizing transformation on the count data, such as Next-Gen sequencing data, and then use the transformed data as quantitative data sets. The details of the developed algorithm can be found in https://arxiv.org/abs/1902.06241.
1 2 |
dataSets |
a list contains multiple matrices with same number of rows.
Each matrix ( |
dataTypes |
a string indicates the data types of the multiple data sets. |
lambdas |
a numeric vector indicates the values of tuning parameters for each data set. |
penalty |
The name of the penalty you want to used.
|
fun_concave |
a string indicates the used concave function. Three options are included in the algorithm.
|
opts |
a list contains the options of the algorithms.
|
This function returns a list contains the results of a pESCA mdoel.
mu: offset term;
A: score matrix;
B: loading matrix;
S: group sparse pattern of B;
varExpTotals: total variation explained of each data set and the full data set;
varExpPCs: variation explained of each data set and each component;
Sigmas: the group length (the definition depends on the used input type). Only meaningful for group-wise sparisty;
iter: number of iterations;
diagnose$hist_objs: the value of loss function pluse penalty at each iteration;
diagnose$f_objs: the value of loss function at each iteration;
diagnose$g_objs: the value of penalty function at each iteration;
diagnose$rel_objs: relative change of diagnose$hist_obj at each iteration;
diagnose$rel_Thetas: relative change of Theta at each iteration.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.