pois_cov_ed | R Documentation |
Perform extreme deconvolution (ED) to estimate data-driven prior covariance matrices.
pois_cov_ed(
data,
subset,
Ulist,
ulist,
ulist.dd,
ruv = FALSE,
Fuv,
update.mu = TRUE,
verbose = FALSE,
init = list(),
control = list()
)
pois_cov_ed_control_default()
data |
“pois.mash” data object, typically created by
calling |
subset |
The indices of features to be used. Defaults to using all features. |
Ulist |
A list of H full-rank covariance matrices (e.g.,
initialized by |
ulist |
A list of G numeric vectors each of which defines a rank-1 covariance matrix. |
ulist.dd |
Logical vector of length G denoting whether each
element in |
ruv |
Logical scalar indicating whether to account for
unwanted variation. If |
Fuv |
J x D matrix of latent factors causing unwanted variation, with features as rows and latent factors as columns. |
update.mu |
A logical scalar indicating whether to update
gene-specific means mu. If |
verbose |
Logical scalar indicating whether to print ELBO at each iteration. |
init |
Optional list of initial values for model parameters
(e.g., returned by |
control |
A list of control parameters with the following
elements: “maxiter”, maximum number of ED iterations;
“maxiter.q”, maximum number of inner loop iterations to
update variational parameters at each ED iteration;
“maxpsi2”, maximum for the gene-specific dispersion
parameter |
A list including the following elements:
Ulist |
List of H full-rank covariance matrices. |
ulist |
List of G numeric vectors each of which forms a rank-1 covariance matrix. |
pi |
Numeric vector of length H + G containing the mixture proportions for Ulist and ulist. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.