calculateW1Inv: Calculate the global block diagonale covariance matrix...

Description Usage Arguments Value Examples

View source: R/calculateW1Inv.R

Description

Combines differential equation solutions and calculate the inverse of covariance matrix W. It is possible to add additional variance on the main diagonal (addtional source of noise) by setting lambda.

Usage

1
calculateW1Inv(sdePred, lambda = 0, ncell, combOk)

Arguments

sdePred

Differential equations solutions.

lambda

Additional variance to be added on the main diagonal of the global covariance matrix.

ncell

The number of cell types over which the process evolves.

combOk

The number of cell types over which the process evolves.

Value

Block diagonal matrix.

Examples

1
calculateW1Inv(sdePred,lambda=0,ncell,combOk)

dp3ll1n/SLCDP documentation built on Feb. 6, 2021, 9:17 p.m.