R/info.R

Defines functions gsnapInfo

### =========================================================================
### Routines for retrieving GMAP installation information
### -------------------------------------------------------------------------
###

gsnapInfo <- function() {
  info <- .gsnap(version = TRUE)
  getField <- function(name) {
    sub(".*?: ", "", info[grep(paste("^", name, ":", sep = ""), info)])
  }
  list(defaultDirectory = getField("Default gmap directory"))
}

Try the gmapR package in your browser

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

gmapR documentation built on Nov. 8, 2020, 5:29 p.m.