ADvariantExplorer | R Documentation |
access to GWAS and eQTL data, slighly optimized for Alzheimer's disease
new()
Creates a new instance of this [R6][R6::R6Class] class.
ADvariantExplorer$new(targetGene, loc.chrom, loc.start, loc.end)
targetGene
character, a candidate gene for this AD GWAS locus
loc.chrom
character, the chromosome of the region to consider
loc.start
numeric, the start of the region to consider
loc.end
numeric, the end of the region to consider
a new instance of ADvariantExplorer
getTargetGene()
accessor for the object's targetGene field
ADvariantExplorer$getTargetGene()
the current value of the targetGene member
getFilteredGwasTable()
access to the EMBL-EBI GWAS catalog via bioc, filtered by location and/or targetGene
ADvariantExplorer$getFilteredGwasTable( targetGeneOnly = TRUE, studyString = "alzheimer", trim.columns = TRUE )
targetGeneOnly
logical, default TRUE, otherwise all variants in this regeion,
studyString
character, default "alzheimer", possibly empty string or any other study field matchabel substring affecting any gene whatsoever
a data.frame
getFullGwasTable()
access to the complete EMBL-EBI GWAS catalog via bioc
ADvariantExplorer$getFullGwasTable(trim.columns = FALSE)
trim.columns
logical reduce to a legible 7 columns
a data.frame
geteQTLSummary()
access to the complete EMBL-EBI eQTL Catalogue via the catalogueR R package, focusing on expression cis-QTLs and sQTL (splicing)
ADvariantExplorer$geteQTLSummary()
a data.frame
geteqtlStudyNamesForGroup()
returns the retrieval-ready study names given
ADvariantExplorer$geteqtlStudyNamesForGroup(groupMatchingString)
groupMatchingString
character, (part of) a qtl_group string
a data.frame
geteQTLsByLocationAndStudyID()
access to the complete EMBL-EBI eQTL Catalogue via the catalogueR R package, focusing on expression cis-QTLs and sQTL (splicing
ADvariantExplorer$geteQTLsByLocationAndStudyID( chrom, start, end, studyIDs, targetGene.only = TRUE, simplify = FALSE )
chrom
character
start
numeric
end
numeric
studyIDs
character vector, one or more values from eQTL summary unique_id column
targetGene.only
logical, default TRUE, otherwise result has all eQTL genes in the region
simplify
logical, trims columns to just the crucial 4: rsid, pvalue, gene, samples
method
character, either REST or tabix, REST by default
a data.frame ordered by increasing pvalue.QTL
getCellTypes()
returns one gene's cell types, or the entire table from jiang et al 2020, nine cell types across 10 human (and mouse) brain regions: https://www.sciencedirect.com/science/article/pii/S2589004220309664 scREAD: A Single-Cell RNA-Seq Database for Alzheimer's Disease
ADvariantExplorer$getCellTypes(geneSymbol = NA)
geneSymbol
character string, either a HUGO gene symbol, or NA
a character vector or a data.frame (if geneSymbol param is NA)
clone()
The objects of this class are cloneable with this method.
ADvariantExplorer$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.