topTraits {gwascat} | R Documentation

## operations on GWAS catalog

### Description

operations on GWAS catalog

### Usage

    topTraits (gwwl, n=10, tag="DISEASE/TRAIT")

    locs4trait(gwwl, trait, tag="DISEASE/TRAIT")

    chklocs(chrtag="20", gwwl)

### Arguments

`gwwl` | instance of `gwaswloc`
`n` | numeric, number of traits to report
`tag` | character, name of field to be used for trait enumeration
`trait` | character, trait to use for filtering
`chrtag` | character, chromosome identifier

### Value

`topTraits` returns a character vector of most frequently occurring traits in the database

`locs4trait` returns a `gwaswloc` object with records defining associations to the specified trait

`chklocs` returns a logical that is TRUE when the asserted locations of SNP in the GWAS catalog agree with the locations given in the dbSNP package SNPlocs.Hsapiens.dbSNP144.GRCh37

### Author(s)

VJ Carey <stvjc@channing.harvard.edu>

### Examples

    data(ebicat38)
    topTraits(ebicat38)

[Package gwascat version 2.18.0 Index]