View source: R/replaceGreekSyms.R
replaceGreekSyms | R Documentation |
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".
replaceGreekSyms(x, replace = c("sym2letter", "sym2word", "word2letter"))
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") |
Character vector (n) with Greek symbols or names replaced
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.