ewascatalog: ewascatalog

Description Usage Arguments Value Author(s) Examples

View source: R/ewascatalog.R

Description

ewascatalog queries the EWAS Catalog from R.

Usage

1
2
ewascatalog(cpgquery = NULL, regionquery = NULL, genequery = NULL,
  traitquery = NULL)

Arguments

cpgquery

a vector of CpG sites.

regionquery

a vector of genomic regions.

genequery

a vector of gene names.

traitquery

a vector of trait names.

Value

Data frame of EWAS Catalog results.

Author(s)

James R Staley <jrstaley95@gmail.com>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# CpG
res <- ewascatalog(cpgquery="cg00029284")

# Region
res <- ewascatalog(regionquery="6:15000000-25000000")

# Gene
res <- ewascatalog(genequery="FTO")

# Trait
res <- ewascatalog(traitquery="body mass index")

jrs95/ewascatalog documentation built on Sept. 19, 2021, 9:56 a.m.