gwascat_from_AHub {gwascat} | R Documentation |
grab an image of EBI GWAS catalog from AnnotationHub
gwascat_from_AHub(tag = "AH91571", simple = FALSE, fixNonASCII = TRUE)
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 |
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.
gwcat = gwascat_from_AHub() gwcat