DEtimeKernCompute: Compute the DEtime kernel given the parameters and X

DEtimeKernComputeR Documentation

Compute the DEtime kernel given the parameters and X

Description

Compute the DEtime kernel given the parameters and X.

Usage

DEtimeKernCompute(kern, X, X2)

Arguments

kern

DEtime kernel structure to be computed

X

A two-column matrix where the first column of this matrix is the time points for control and perturbed conditions and the second column uses '1' to represent time points from control condition and '2' to represent time points from perturbed condition

X2

Second input matrix to the kernel computation (forms the columns of the kernel)

Details

K <- DEtimeKernCompute(kern, X) computes a DEtime kernel matrix given an input data matrix. K <- DEtimeKernCompute(kern, X, X2) computes a DEtime kernel matrix for the given kernel type given two input data matrices, one for the rows and one for the columns.

Value

DEtime kernel structure.

Examples

kern <- list()
kern <- DEtimeKernParamInit(kern)
X <- matrix(c(seq(0,4),seq(0,4), rep(1,5),rep(2,5)),ncol=2)
K <- DEtimeKernCompute(kern, X)

ManchesterBioinference/DEtime documentation built on Feb. 9, 2024, 12:10 p.m.