![]() |
IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
|
Renumbers group indexes according to a different dataset.
This function uses group codes to match groups across datasets. indexes_orig contains group indexes that correspond to data_orig. indexes_orig refer to unique(data_orig.groupcodes). The resulting indexes will refer to unique(data_ref.groupcodes)
If a group existes in data_orig but not in data_ref, an error will be generated.
Definition in file renumber_group_indexes.m.
Go to the source code of this file.
Functions | |
function | renumber_group_indexes (in indexes_orig, in data_orig, in data_ref) |
function renumber_group_indexes | ( | in | indexes_orig, |
in | data_orig, | ||
in | data_ref | ||
) |
indexes_orig | This is a selection of groups to be dealt with; indexes point to unique(data_orig.groupcodes) |
data_orig | Original dataset |
data_ref | Reference dataset |