library(nprcgenekeepr)
original <- c(
"m", "male", "1", "MALE", "M", "F", "f", "female",
"FemAle", "U", "Unknown", "H", "hermaphrodite",
"U", "Unknown", "3", "4"
)
sexCodes <- convertSexCodes(original)
sexCodes
Run the code above in your browser using DataLab