cov_flash | R Documentation |
Perform Empirical Bayes Matrix Factorization using flashier, and return a list of candidate covariance matrices
cov_flash(
data,
factors = c("default", "nonneg"),
subset = NULL,
remove_singleton = FALSE,
tag = NULL,
output_model = NULL,
greedy_args = list(),
backfit_args = list()
)
data |
A “mash” data object. |
factors |
If |
subset |
Data samples (rows) used to estimate the
covariances. Sset to |
remove_singleton |
If |
tag |
How to name the covariance matrices. |
output_model |
The fitted flash model will be saved to this file
(using |
greedy_args |
List containing additional parameters passed to
|
backfit_args |
List containing additional parameters passed
to |
A list of covariance matrices.
# See https://stephenslab.github.io/mashr/articles/flash_mash.html
# for an example
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.