gl.recode.ind function

Recodes individual (=specimen = sample) labels in a genlight object