helps fix spelling mistakes in the labels of a set of samples.
labelCheck(x, y, z, auto = FALSE)
Vector of class character.
Vector of class character.
Vector of class character.
Logical argument. Default is FALSE.
A character vector.
If y and z are missing, the function will return the unique values among all the elements of y. Otherwise, the function will provide a corrected copy of y. Additionally, the function will count the number of records for each of the unique labels from which a plot will be built. The final output consists of:
unique.labels - Unique labels in the output.
corrected.labels - Corrected labels in x.
label.count - Count of occurrences in unique.labels per each element in x.
label.count.plot - Plot of label.count.
stringdist
function.