gwascat_from_AHub {gwascat}R Documentation

grab an image of EBI GWAS catalog from AnnotationHub

Description

grab an image of EBI GWAS catalog from AnnotationHub

Usage

gwascat_from_AHub(tag = "AH91571", simple = FALSE, fixNonASCII = TRUE)

Arguments

tag

character(1) defaults to "AH91571" which is the 3.30.2021 image

simple

logical(1) if TRUE, just returns data.frame as retrieved from EBI; defaults to FALSE

fixNonASCII

logical(1) if TRUE, use iconv to identify and eliminate non-ASCII content

Value

If 'simple', a data.frame is returned based on TSV data produced by EBI. Otherwise, non-ASCII content is processed according to the value of 'fixNonASCII' and a 'gwaswloc' instance is returned, which has a concise show method. This can be coerced to a simple GRanges instance with as(..., "GRanges"). The reference build is GRCh38.

Examples

gwcat = gwascat_from_AHub()
gwcat

[Package gwascat version 2.24.0 Index]