File: stresc.Rd

package info (click to toggle)
r-cran-seqinr 3.4-5-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,876 kB
  • sloc: ansic: 1,987; makefile: 14
file content (27 lines) | stat: -rw-r--r-- 598 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
\name{stresc}
\alias{stresc}
\title{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{
stresc(strings)
}
\arguments{
  \item{strings}{A vector of strings to deal with.}
}
\value{
  Returns a vector of strings with escaped characters within each string.
}
\references{
  \code{citation("seqinr")}
}
\author{J.R. Lobry}
\seealso{ \code{\link{s2c}} }
\examples{
  stresc("MISC_RNA")
  stresc(c("BB_0001","BB_0002"))
}