Learn R Programming

⚠️There's a newer version (1.1.7) of this package.Take me there.

XGR (version 1.0.7)

Exploring Genomic Relations for Enhanced Interpretation Through Enrichment, Similarity, Network and Annotation Analysis

Description

The central goal of XGR is to provide a data interpretation system. It is designed to make a user-defined gene or SNP list (or genomic regions) more interpretable by comprehensively utilising ontology annotations and interaction networks to reveal relationships and enhance opportunities for biological discovery. XGR is unique in supporting a broad range of ontologies (including knowledge of biological and molecular functions, pathways, diseases and phenotypes - in both human and mouse) and different types of networks (including functional, physical and pathway interactions). There are two core functionalities of XGR. The first is to provide basic infrastructures for easy access to built-in ontologies and networks. The second is to support data interpretations via 1) enrichment analysis using either built-in or custom ontologies, 2) similarity analysis for calculating semantic similarity between genes (or SNPs) based on their ontology annotation profiles, 3) network analysis for identification of gene networks given a query list of (significant) genes, SNPs or genomic regions, and 4) annotation analysis for interpreting genomic regions using co-localised functional genomic annotations (such as open chromatin, epigenetic marks, TF binding sites and genomic segments) and using nearby gene annotations (by ontologies). Together with its web app, XGR aims to provide a user-friendly tool for exploring genomic relations at the gene, SNP and genomic region level.

Copy Link

Version

Install

install.packages('XGR')

Monthly Downloads

23

Version

1.0.7

License

GPL-2

Maintainer

Hai Fang

Last Published

January 12th, 2017

Functions in XGR (1.0.7)

xConverter

Function to convert an object between graph classes
xEnrichBarplot

Function to visualise enrichment results using a barplot
xColormap

Function to define a colormap
xCircos

Function to visualise a network as a circos plot
xDAGsim

Function to calculate pair-wise semantic similarity between input terms based on a direct acyclic graph (DAG) with annotated data
xDAGanno

Function to generate a subgraph of a direct acyclic graph (DAG) induced by the input annotation data
xCheckParallel

Function to check whether parallel computing should be used and how
ImmunoBase

Immune-disease associated variants, regions and genes from ImmunoBase (hg19)
xEnrichCompare

Function to compare enrichment results using side-by-side barplots
JKscience_TS2A

Table S2A for cis-eQTLs among shared datasets from Benjamin et al. (2014)
xEnrichViewer

Function to view enrichment results
xEnrichConciser

Function to make enrichment results conciser by removing redundant terms
xFunArgs

Function to assign (and evaluate) arguments with default values for a given function
xEnricher

Function to conduct enrichment analysis given the input data and the ontology and its annotation
xEnrichDAGplot

Function to visualise enrichment results using a direct acyclic graph (DAG)
xEnrichDAGplotAdv

Function to visualise comparative enrichment results using a direct acyclic graph (DAG)
xEnricherGenes

Function to conduct enrichment analysis given a list of genes and the ontology in query
xEnricherYours

Function to conduct enrichment analysis given YOUR own input data
xEnricherSNPs

Function to conduct enrichment analysis given a list of SNPs and the ontology in query
xEnrichNetplot

Function to visualise enrichment results using different network layouts
xGRviaGeneAnno

Function to conduct region-based enrichment analysis using nearby gene annotations
xGR

Function to create a GRanges object given a list of genomic regions
xGRscores

Function to score genomic regions based on the given significance level
xSNPscores

Function to score lead or LD SNPs based on the given significance level
xGR2GeneScores

Function to identify likely modulated seed genes given a list of genomic regions together with the significance level
xSocialiser

Function to calculate pair-wise semantic similarity given the input data and the ontology and its annotation
xSNPlocations

Function to extract genomic locations given a list of SNPs
xSNP2nGenes

Function to define nearby genes given a list of SNPs
xSocialiserSNPs

Function to calculate pair-wise semantic similarity given a list of SNPs and the ontology in query
xSparseMatrix

Function to create a sparse matrix for an input file with three columns
xLiftOver

Function to lift genomic intervals from one genome build to another.
xRdWrap

Function to wrap texts from Rd files
xRDataLoader

Function to load the package built-in RData
xRd2HTML

Function to convert Rd files to HTML files
xSubneterSNPs

Function to identify a gene network from an input network given a list of seed SNPs together with the significance level (e.g. GWAS reported p-values)
xVisKernels

Function to visualise distance kernel functions
xGRviaGenomicAnnoAdv

Function to conduct region-based enrichment analysis using genomic annotations via sampling
xGRviaGenomicAnno

Function to conduct region-based enrichment analysis using genomic annotations via binomial test
xGRsampling

Function to generate random samples for data genomic regions from background genomic regions
xGR2nGenes

Function to define nearby genes given a list of genomic regions
xSM2DF

Function to create a data frame (with three columns) from a (sparse) matrix
xSubneterGenes

Function to identify a subnetwork from an input network and the signficance level imposed on its nodes
xSNP2GeneScores

Function to identify likely modulated seed genes given a list of SNPs together with the significance level (e.g. GWAS reported p-values)
xVisNet

Function to visualise a graph object of class "igraph"
xSocialiserDAGplotAdv

Function to draw DAG plot for comparing two sets of terms used to annotate two SNPs or genes in query
xSubneterGR

Function to identify a gene network from an input network given a list of genomic regions together with the significance level
xSocialiserGenes

Function to calculate pair-wise semantic similarity given a list of genes and the ontology in query
xSocialiserDAGplot

Function to draw DAG plot for visualising terms used to annotate an input SNP or gene
xSocialiserNetplot

Function to visualise terms used to annotate an input SNP or gene using different network layouts