run_MRF | R Documentation |
Run the MRF model to estimate the DE state for each gene across cell types.
run_MRF(paraMRF, expr, c_c, x_init)
paraMRF |
Starting values of the model parameter |
expr |
Pseudo-bulk expression list for a gene. Each item is a vector of the pseudo-bulk expression across all individuals for a cell type in a condition. The list names should start with 'Cond1_' or 'Cond2_', and followed by the name of the cell type. |
c_c |
Binary cell type relationship network matrix. 1 means connected, and 0 means not connected. |
x_init |
Initial DE status. Should be a binary vector of length nk. 1 means DE, and 0 means EE. |
The estimated model parameters and the DE status:
Trace of the DE status for each cell type in the ICM algorithm. A 2-dimensional array: (num of cell types)*
(num of iterations). The first column represents the initialization, and the last column represents the final DE status.
Trace of the estimated model parameters \Theta
in the ICM algorithm. A 2-dimensional array: 2*
(num of iterations). The first column represents the initialization, and the last column represents the final parameters.
Trace of the estimated model parameters \Phi
in the ICM algorithm. A 2-dimensional array: 2*
(num of iterations). The first column represents the initialization, and the last column represents the final parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.