R/emptyCacheRegioneR.R

Defines functions emptyCacheRegioneR

Documented in emptyCacheRegioneR

#' Empty Cache regioneR
#'  
#' @description 
#' Empties the caches used by the memoised functions in the regioneR package. 
#' 
#' @usage 
#' emptyCacheRegioneR()
#' 
#' @return The cache is emptied
#' 
#' @examples
#' emptyCacheRegioneR()
#' 
#' @export emptyCacheRegioneR
#' 
#' @importFrom memoise forget


emptyCacheRegioneR <- function() {
  memoise::forget(getGenome)
  memoise::forget(getMask)
  memoise::forget(getGenomeAndMask)
  memoise::forget(maskFromBSGenome)
  memoise::forget(characterToBSGenome)
  
}

Try the regioneR package in your browser

Any scripts or data that you put into this service are public.

regioneR documentation built on Nov. 8, 2020, 5 p.m.