Description Usage Arguments Details Value Author(s)
MAD-Bayes method to fit the MBASIC model.
1 2 3 | MBASIC.MADBayes.full(Y, Gamma = NULL, fac, lambdaw = NULL, lambda = NULL,
maxitr = 30, S = 2, tol = 1e-10, ncores = 15, nfits = 1,
nlambdas = 30, para = NULL, initialize = "kmeans")
|
Y |
An N by I matrix containing the data from N experiments across I observation units (loci). |
Gamma |
An N by I matrix for the prior estimated mean for the background state, for N experiments across the I observation units (loci). |
fac |
A vector of length N denoting the experimental condition for each replicate. |
maxitr |
The maximum number of iterations in the E-M algorithm. Default: 100. |
S |
The number of different states. |
tol |
Tolerance for error in checking the E-M algorithm's convergence. Default: 1e-04. |
ncores |
The number of CPUs to be used for parallelization. |
nfits |
The number of random restarts of the model. |
lambdap,lambdaw,lambda |
Tuning parameters. |
family |
The distribution of family to be used. Either "lognormal" or "negbin". See details for more information. |
TODO.
A list object including the following fields:
allFits | A list of MBASICFit objects for the best model fit with each lambda. |
lambda | A vector of all lambdas corresponding to allFits . |
Loss | A vector for the loss corresponding to allFits . |
BestFit | The MBASICFit object with largest Silhouette score. |
Iter | Number of iterations for BestFit . |
Time | Time in seconds used to fit the model. |
Chandler Zuo zuo@stat.wisc.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.