| ewascatalog | R Documentation |
ewascatalog queries the EWAS Catalog from R.
ewascatalog(
query,
type = c("cpg", "loc", "region", "gene", "trait", "efo", "study"),
url = "http://www.ewascatalog.org"
)
query |
Query text. |
type |
Type of query, either 'cpg', 'region', 'gene', 'trait', 'efo', 'study' (Default: 'cpg'). |
url |
url of website to query - default is http://www.ewascatalog.org |
Data frame of EWAS Catalog results.
James R Staley <js16174@bristol.ac.uk>
Thomas Battram <thomas.battram@bristol.ac.uk>
# CpG
res <- ewascatalog("cg00029284", "cpg")
# Region
res <- ewascatalog("6:15000000-25000000", "region")
# Gene
res <- ewascatalog("FTO", "gene")
# Trait
res <- ewascatalog("Alzheimers disease", "trait")
# EFO
res <- ewascatalog("EFO_0002950", "efo")
# Study
res <- ewascatalog("27040690", "study")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.