gwcat_snapshot {gwascat} | R Documentation

## use AnnotationHub snapshot as basis for gwaswloc structure creation

### Description

use AnnotationHub snapshot as basis for gwaswloc structure creation

### Usage

    gwcat_snapshot(x, fixNonASCII = TRUE)

### Arguments

`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

### Examples

    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)

[Package gwascat version 2.24.0 Index]