gwcat_snapshot {gwascat} | R Documentation |
use AnnotationHub snapshot as basis for gwaswloc structure creation
gwcat_snapshot(x, fixNonASCII = TRUE)
x |
inherits from data.frame, with columns consistent with EBI table |
fixNonASCII |
logical(1) if TRUE, use iconv to replace non-ASCII character, important for CMD check but perhaps not important for applied use |
ah = AnnotationHub::AnnotationHub() entitytab = AnnotationHub::query(ah, "gwascatData") cand = names(entitytab)[1] stopifnot(nchar(cand)>0) tab = ah[[cand]] gww = gwcat_snapshot(tab) gww length(gww)