Learn R Programming

genefu (version 2.4.2)

strescR: Utility function to escape LaTeX special characters present in a string

Description

This function returns a vector of strings in which LaTeX special characters are escaped, this was useful in conjunction with xtable.

Usage

strescR(strings)

Arguments

strings
A vector of strings to deal with.

Value

  • Returns a vector of strings with escaped characters within each string.

References

citation("seqinr")

See Also

stresc

Examples

Run this code
strescR("MISC_RNA")
  strescR(c("BB_0001","BB_0002"))

Run the code above in your browser using DataLab