R/checkIfLegendPossible.R

Defines functions checkIfLegendPossible

checkIfLegendPossible <- function(){
  ## Determine operating system to decide whether legends should be added.
  osType <- Sys.info()['sysname']
  if (osType %in% c("Linux", "Windows")){
    addLegend <- TRUE    
  } else addLegend <- FALSE
  return(addLegend)
}
Bioconductor-mirror/TPP documentation built on July 7, 2017, 11:01 p.m.