R/proteomics_computation.R
get_prefix.Rd
Get the common prefix of words
get_prefix(words)
A character vector of words
A character string that is the common prefix of all words
get_prefix(c("animal", "antelope", "anteater")) #> [1] "an"