R/hsvdrg_data.R

Defines functions hsvdrg_data

Documented in hsvdrg_data

#' Returns a dataframe of the cmvdrg database
#' @return dataframe of the hsvdrg database
#' @export

hsvdrg_data <- function(){
  
  file = system.file("db", "hsvdrg-db.csv", package = "hsvdrg")
  dat = utils::read.csv(file, stringsAsFactors = F)
  colnames(dat)[[1]] = "mutation_id"
  return(dat)
}
ojcharles/hsvdrg documentation built on Jan. 19, 2021, 2:02 p.m.