IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
data_get_cv.m File Reference

Detailed Description

Calculates the "cluster vectors".

References

(1) Binary Mixture Effects by PBDE Congeners (47, 153, 183, or 209) and PCB Congeners (126 or 153) in MCF-7 Cells: Biochemical Alterations Assessed by IR Spectroscopy and Multivariate Analysis. Valon Llabjani, Julio Trevisan, Kevin C. Jones, Richard F. Shore, Francis L. Martin. ES&T, 2010, 44 (10), 3992-3998.

(2) Martin FL, German MJ, Wit E, et al. Identifying variables responsible for clustering in discriminant analysis of data from infrared microspectroscopy of a biological sample. J. Comp. Biol. 2007; 14(9):1176-84.

Definition in file data_get_cv.m.

Go to the source code of this file.

Functions

function data_get_cv (in data, in L, in idx_class_origin)
 

Function Documentation

function data_get_cv ( in  data,
in  L,
in  idx_class_origin 
)
Parameters
datairdata object. Input dataset. This dataset is transformed into the L/factor space, then the average spectrum for each class is calculated. The vectors stretched in the factor space between (the origin / the average of a reference class) and (the average of a target class) become the coefficients of a linear combination of the columns of L to give the cluster vectors.
Attention
If idx_class_origin <= 0, data will be mean-centered
Parameters
LLoadings matrix
idx_class_originIndex of class to be considered the origin of the space (1). If <= 0, classical cluster vectors will be calculated (2), i.e., the cluster vectors origin is the origin of the space.
Returns
cv Cluster vectors, dimensions [nf]x[nc]