Learn R Programming

mglR (version 0.1.0)

addGrasp: Add GWAS data from GRASP to list

Description

addGrasp returns a list with the nineteenth element as dataframe with GWAS data from the GRASP database grasp.nhlbi.nih.gov/.

Usage

addGrasp(mgl, range)

Arguments

range
Number indicating distance upstream of start and downstream of stop that should be used for filtering SNPs.

Details

This gives basic information on trait associated variants as reported by the GRASP database for the gene of interest. It pulls data based on the position (i.e. any SNP that falls between the start and stop position). Note a wider range can be taken using the range flag.

See Also

Other elements: addAei, addAntisense, addCisEqtl, addDnase, addEnst, addExpression, addGo, addGwasCatalog, addLoc, addPtv, addPubmed, addSqtlAltrans, addSqtlSeek, addTransEqtl, missNames

Examples

Run this code
## Not run: buildFromRegion(chr = 2, start = 102314000, stop = 103435000) -> myMgl
## Not run: myMgl <- addGrasp(myMgl, range = 0)

Run the code above in your browser using DataLab