IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy

Detailed Description

searches and replaces class labels

This function performs the search within class levels, not the whole labels. For example, in a label 'A|B|C', matched will be tried against 'A', 'B', and 'C' separately

Definition in file data_rename_classlabels.m.

Go to the source code of this file.

Functions

function data_rename_classlabels (in data, in map, in levelstosearch)
 

Function Documentation

function data_rename_classlabels ( in  data,
in  map,
in  levelstosearch 
)
Parameters
dataDataset
mapSee syntax below:
1 {old_label1, new_label1; old_label2, new_label2; ...}
levelstosearchLevels to search
Returns
Dataset with classlabels changed