topTraits: operations on GWAS catalog

Description Usage Arguments Value Author(s) Examples

View source: R/funcs.R

Description

operations on GWAS catalog

Usage

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

Arguments

gwwl

instance of {gwaswloc}

n

numeric, number of traits to report

tag

character, name of field to be used for trait enumeration

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

1
2

gwascat documentation built on Nov. 8, 2020, 11:08 p.m.