Replace Greek symbols with either single letter or word. Note that this only replaces greek symbols I have encountered so far in antibody names to avoid introducing errors by e.g. replacing "mu" in "immunoglobin".
Usage
replaceGreekSyms(x, replace = c("sym2letter", "sym2word", "word2letter"))
Arguments
- x
Character vector (n) containing Greek symbols to be replaced.
- replace
Either "sym2letter" (replace Greek symbols with single lowercase letter) or "sym2word" (replace Greek symbols with lowercase word, e.g. "alpha") or "word2letter" (replace lowercase Greek symbol names with single lowercase letters e.g. "alpha" to "a")