gwasExplorer | R Documentation |
score non-coding variants in GWAS loci to elucidate function
new()
Creates a new instance of this [R6][R6::R6Class] class.
gwasExplorer$new( targetGene, locusName, tagSnp, shoulder, tissueName, tbl.prespecifiedRegion = NA )
targetGene
character
locusName
haracter, from GWAS studies, often meta-analyses
tagSnp
character
shoulder
numeric number of bases up and downstream to consider in lookups
tissueName
character selects expression & variants
a new instance of gwasExplorer
getRegion()
the regulatory region being studied
gwasExplorer$getRegion()
data.frame
getLinkageTable()
from halporeg, a table with both hg19 and hg38 coordinates
gwasExplorer$getLinkageTable()
data.frame
loadLinkageTable()
from halporeg, a table with both hg19 and hg38 coordinates
gwasExplorer$loadLinkageTable(tagSnp)
tagSnp
character
data.frame
getChromLocs()
hg19 and hg38 chromosomal locations
gwasExplorer$getChromLocs(geneSymbol)
geneSymbol
character, a HUGO human gene symbol
data.frame
getEQTLSummary()
retrieve a summary of eQTL studies currently available from embl return data.frame
gwasExplorer$getEQTLSummary()
getEqtlsForGene()
from all available sources, a table with both hg19 and hg38 coordinates
gwasExplorer$getEqtlsForGene(eqtl.catalog.studyIDs, pval.threshold)
eqtl.catalog.studyIDs
character vector,
pval.threshold
numeric retain only eQTLs as or more significant than this
data.frame
trenaMultiScore()
build tms model
gwasExplorer$trenaMultiScore(tissueName, tbl.fimo, tbl.oc)
tissueName
character as used by GTEx
tbl.fimo
data.frame, typically a very large & low threshold set of fimo scores
tbl.oc
data.frame, open chromatin from, e.g., ATAC-seq, as tissue- and cell-type specific as possible
shoulder
numeric number of bytes up- and downstream from the largst transcript
data.frame
getExpressionMatrixCodes()
getExpressionMatrixCodes: short names (codes) and file paths
gwasExplorer$getExpressionMatrixCodes()
list
getExpressionMatrix()
getExpressionMatrix
gwasExplorer$getExpressionMatrix(code)
code
character, a short descriptive name, resolves to a file path
data.frame
runTrena()
run trena
gwasExplorer$runTrena(tfs, mtx.rna, tbl.tms)
tfs
character vector, one or more transcription factor gene symbols
mtx.rna
matrix, gene expression of many genes across many conditions or samples
tbl.tms
data.frame, tf binding sites, annotated and scored in many ways
data.frame
scoreBrokenMotifs()
score broken motifs
gwasExplorer$scoreBrokenMotifs(max.pvalue, tbl.eqtls)
max.pvalue
numeric
tbl.eqtls
data.frame rsids used as input to motifbreakR
clone()
The objects of this class are cloneable with this method.
gwasExplorer$clone(deep = FALSE)
deep
Whether to make a deep clone.
gwex <- gwasExplorer$new(targetGene="NDUFS2", locusName="ADAMTS4", tagSnp="rs4575098")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.