R/data.R

#' a data.frame of genes(EnsDb.Hsapiens.v75) with build appended
#' @docType data
#' @format data.frame
#' @examples
#' head(genes_v75,3)
"genes_v75"

#' a data.frame of eQTL results for testing
#' @docType data
#' @format data.frame
#' @examples
#' head(little_eq)
"little_eq"

#' a UCSC liftOver chain
#' @docType data
#' @format chain
#' @examples
#' ch19to38
"ch19to38"

#' a snapshot of output of ieugwasr::gwasinfo()
#' @docType data
#' @format data.frame
#' @note Includes 'batchcode' computed by code commented out in example
#' @examples
#' # batchcode = strsplit(gwidf_2021_01_30$id, "-")
#' # batchcode = sapply(batchcode,function(x) paste0(x[1], "-", x[2]))
#' head(gwidf_2021_01_30)
"gwidf_2021_01_30"

#' a subset of trait labels mapped to Disease Ontology
#' @docType data
#' @format named character vector
#' @note Uses ontoProc from Bioc 3.12.
#' @examples
#' head(mapped_traits_demo)
"mapped_traits_demo"
vjcitn/gwaslake documentation built on Aug. 9, 2022, 5:45 p.m.