R/convertUnderscores.r

Defines functions convertUnderscores

Documented in convertUnderscores

#' Convert underscores for reporting in LaTeX
#'
#' Convert underscores for reporting in LaTeX
#'
#' @param text a character vector containing underscores
#' @return A character vector ready to be printed with LaTeX
#' @author Hugo Varet

# created March 9th, 2015

convertUnderscores <- function(text){
  gsub("_", "\\\\_", text)
}
biomics-pasteur-fr/RNADiff documentation built on Aug. 27, 2020, 12:44 a.m.