Description Usage Arguments Value References Examples
Estimate the precision matrix for PLN model by estimating the covariance matrix using moment method and estimating the precision matrix using the dtrace loss.
1 2 3 4 5 6 7 8 |
obs_mat |
An abundance count matrix with Cell rows and Gene columns. |
Sd_est |
Optional. Normalisation scheme used to compute scaling factors used as offset during PLN inference. Available schemes are "TSS" (Total Sum Scaling, default), "CSS" (Cumulative Sum Scaling, used in metagenomeSeq), "GMPR" (Geometric Mean of Pairwise Ratio, introduced in Chen et al., 2018) or "none". Alternatively the user can supply its own vector or matrix of offsets (see note for specification of the user-supplied offsets). |
lambda_vec |
Optional. The user can supply its own vector. |
n_lambda |
Optional. When the lambda_vec is empty, the package will provide a suitable lambda_vec with length n_lambda. |
lambda_valuemax0 |
Optional. When the lambda_vec is NULL, the package will provide a suitable lambda_vec searching from lambda_valuemax0. |
penalize.diagonal |
Should diagonal of inverse covariance be penalized? Dafault TRUE. |
A list which contain the following result:
Omega_est |
A list which contain the precision matrix for different lambda value. |
lambda_vec |
The lambda_vec used. |
S_depth |
The vector of estimated library size. |
BIC_vec |
The vector of BIC value. |
Omega_chooseB |
The estimated precision matrix choosed by the BIC criterion. |
AIC_vec |
The vector of AIC value. |
Omega_chooseA |
The estimated precision matrix choosed by the AIC criterion. |
time_sigmamoment |
The time for calculating the covariance matrix for PLN using moment method. |
time_EQUAL |
The time for calculating the path of precision matrix using EQUAL package. |
Zhang T, Zou H. Sparse precision matrix estimation via lasso penalized D-trace loss[J]. Biometrika, 2014, 101(1): 103-120.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.