Preimage {chickn} R Documentation

## Preimage

### Description

Consensus chromatogram computation.

### Usage

Preimage(
Data,
K_W1,
C_out,
Cl_assign,
max_Nsize = 32,
ncores = 4,
DIR_out = getwd(),
BIG = FALSE
)


### Arguments

 Data A Filebacked Big Matrix n x N. Data signals are stored in the matrix columns. K_W1 A Filebacked Big Matrix of the Nystrom kernel matrix s \times N, where N is the number of signal in the training collection and s is the Nystrom sample size. C_out A Filebacked Big Matrix of cluster centroids. Cl_assign A Filebacked Big matrix of the cluster assignment. max_Nsize Maxumum number of neighbors. ncores Number of cores. DIR_out A directory to save the result, by default it is the working directory. BIG logical parameter that controls whether the resulting consensus chromatograms are stored as a Filebacked Big Matrix ('Centroid_preimage.bk'). Default is FALSE.

### Value

A matrix or a Filebacked Big Matrix if BIG = TRUE.

[Package chickn version 1.2.3 Index]