addCisEqtl: Add cis eQTL data to list

Description Usage Arguments Details See Also Examples

View source: R/addCisEqtl_function.R

Description

addCisEqtl returns an 'mgl' list with the fourteenth element as a list with each element being a dataframe with cis eQTL data from GTEx for a given tissue for the gene of interest.

Usage

1
addCisEqtl(mgl, download = TRUE, saveDownload = FALSE, fpsource = "./")

Arguments

mgl

List; see buildFromNames, buildFromRegion, or buildFromEnsgs

download

A logical vector indicating if the data should be downloaded.

saveDownload

A logical vector indicating if the data should be saved as 'RawData_eQTL.RData'

fpsource

A character string of with the filepath where the data has been downloaded

Details

This gives basic information on tissue specific eQTLs as reported by GTEx for the gene of interest. It pulls eQTL data based on the ENSG identifier. Data is downloaded from GTEx gtexportal.org/.

See Also

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

Examples

1
2
## Not run: buildFromRegion(chr = 2, start = 102314000, stop = 103435000) -> myMgl
## Not run: myMgl <- addCisEqtl(myMgl, download = TRUE, saveDownload = FALSE)

mglR documentation built on May 29, 2017, 4:07 p.m.