Computes the matrix Δ Σ_{c,j} resulting from the joint diagonalization for a given environment (cf. Eq.(7) in the paper). If the joint diagonalization was successful the matrix should be diagonal for all environments $j$.
| 1 | computeDiagonalization(estConnectivity, X, env, whichEnv, main = NULL)
 | 
| estConnectivity | Estimate for connectivity matrix returned by  | 
| X | Data matrix | 
| env | Indicator of the experiment or the intervention type an observation belongs to (a numeric vector of length n). | 
| whichEnv | Indicator for the environment for which the matrix ΔΣ_{c,j}$ should be computed. | 
| main | Optional title for plot; defaults to paste("Env.", whichEnv) | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.