BASIX.unique returns a matrix with duplicate rows removed.
The unique rows ids will be saved as rownames.
is a version of
unique specialized on matrices.
The native R solution would be:
This function can be applied to numeric as well as character vectors.
1 2 3 4