This function allows to identify disease-associated genomic variants
affecting differentially expressed miRNA genes or their host genes.
To do so, this function uses gwasrapidd to retrieve SNPs-disease
associations, and then retains only SNPs that affect DE-miRNA genes or their
relative host genes (for intronic miRNAs).
Arguments
- mirnaObj
A
MirnaExperimentobject containing miRNA and gene data- diseaseEFO
The EFO identifier of a disease of interest. This can be identified with the
searchDisease()function
Value
A data.frame containing details about disease-SNPs and the associated
differentially expressed miRNAs:
variantcontains SNP identifiers;genedefines the gene affected by a disease-SNP (it may be the miRNA gene itself or the host gene of an intronic miRNA);miRNA.genespecifies the DE-miRNA gene present;miRNA.precursorspecifies the name of the miRNA precursor affected by disease-SNPs;chrindicates the chromosome of SNPs;positionshows the SNP position;alleledisplays possible alleles for this SNPs;distancespecifies the distance between SNPs and miRNAs;is_upstreamindicates whether SNP is upstream of miRNA gene;is_downstreamindicates whether SNP is downstream of miRNA gene;mirnaStrandshows the strand;mirnaStartPositiondisplays the start position of DE-miRNA gene;mirnaEndPositiondisplays the end position of DE-miRNA gene.
Details
SNPs occurring within miRNAs may have important effects on the biological function of these transcripts. Indeed, a SNP present within a miRNA gene might alter its expression or the spectrum of miRNA targets.
To retrieve disease-SNPs, this function uses gwasrapidd package, which
directly queries the NHGRI-EBI Catalog of published genome-wide association
studies. After running this function, the user can use the mirVariantPlot()
function to produce a trackplot for visualizing the genomic location of
SNPs within miRNA genes.
References
Ramiro Magno, Ana-Teresa Maia, gwasrapidd: an R package to query, download and wrangle GWAS catalog data, Bioinformatics, Volume 36, Issue 2, January 2020, Pages 649–650, https://doi.org/10.1093/bioinformatics/btz605
Author
Jacopo Ronchi, jacopo.ronchi@unimib.it
Examples
# load example MirnaExperiment object
obj <- loadExamples()
# \donttest{
# search disease
searchDisease("response to antidepressant")
#> Checking for cached EFO traits...
#> Reading EFO traits from cache...
#> Searching for disease: response to antidepressant
#> [1] "response to antidepressant" "response to anticonvulsant"
disId <- "response to antidepressant"
# retrieve associated SNPs
association <- findMirnaSNPs(obj, disId)
#> Querying GWAS Catalog, this may take some time...
#> Finding genomic information of differentially expressed miRNAs...
#> Ensembl site unresponsive, trying asia mirror
#> Ensembl site unresponsive, trying asia mirror
#> After the analysis, 1 variants associated with response to antidepressant were found within differentially expressed miRNA genes
# }