KernSeg_MultiD {KernSeg} | R Documentation |
Function to run the dynamic programing with kernels (md case)
KernSeg_MultiD(geno, Kmax, delta = 1, min.size = 1, alpha = NULL, kernel = "Gaussian", option = 0)
geno |
an n x m matrix to be segmented with n the length of the signal |
Kmax |
the maximum number of breaks |
delta |
parameter of the kernel (delta.cn, delta.baf) |
min.size |
minimum size of a segment -1 (1 = no constraint 2 = at least 2) |
alpha |
some additionnal parameter for the kernel |
kernel |
kernel ("Gaussian", "L2") |
option |
for KernSeg like Mattesson Divergence or Mattesson like Kernseg (n or n-1) |
return a list with J.est : a vector with the loss as a function of K) and t.est : a matrix with the position of the changes
Guillem Rigaill