Learn R Programming

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

XGR (version 1.1.4)

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

Description

The central goal of XGR by Fang et al. (2016) is to provide a data interpretation system necessary to do "big data" science. 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

126

Version

1.1.4

License

GPL-2

Maintainer

Hai Fang

Last Published

August 14th, 2018

Functions in XGR (1.1.4)

xBigraph

Function to obtain communities from a bipartitle graph
xCircos

Function to visualise a network as a circos plot
xAddCoords

Function to add coordinates into a graph according to a node attribute
xDAGsim

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

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

Function to aggregate data respecting number of features
xGR2GeneScores

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

Function to define a gene network
xGGnetwork

Function to visualise an igraph object using ggnetwork
xDefineEQTL

Function to extract eQTL-gene pairs given a list of SNPs or a customised eQTL mapping data
Haploid_regulators

Haploid mutagenesis screens for regulators of protein phenotypes
xBiproject

Function to obtain a projected graph from a bipartitle graph
xDefineOntology

Function to define ontology and its annotations
xGR2nGenes

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

Function to define a colormap
xDAGanno

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

Function to visualise bipartitle graph communities using heatmap
xCheckParallel

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

Function to compare enrichment results using matrix plots
xCombineNet

Function to combine networks from a list of igraph objects
xConverter

Function to convert an object between graph classes
xDefineGenomicAnno

Function to define genomic annotations
xGRviaGeneAnno

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

Function to visualise enrichment results using a barplot
xEnrichNetplot

Function to visualise enrichment results using different network layouts
xEnrichTreemap

Function to visualise enrichment results using a treemap
xEnrichCompare

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

Function to extract promoter capture HiC-gene pairs given a list of SNPs
xGRviaGeneAnnoAdv

Function to conduct region-based enrichment analysis given a list of genomic region sets and a list of ontologies
xEnricherGenesAdv

Function to conduct enrichment analysis given a list of gene sets and a list of ontologies
xCorrelation

Function to calculate and visualise correlation
xGScore

Function to extract scores given a list of genomic regions
xCrosstalk

Function to identify a pathway crosstalk
xGScoreAdv

Function to calculate per base scores given a list of genomic regions in terms of overlaps with genomic annotations
xEnrichConciser

Function to make enrichment results conciser by removing redundant terms
xEnricherSNPs

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

Function to identify likely modulated seed genes from an input list of genomic regions together with the significance level given the crosslink info
xGR2xGenes

Function to define genes from an input list of genomic regions given the crosslink info
xGRoverlap

Function to extract overlap-based scores given a list of genomic regions
xEnrichDAGplot

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

Function to view enrichment results
xRPS

Function to calculate regulatory potential scores for genomic regions using genomic annotations
xDAGpropagate

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

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

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

Function to perform connectivity enrichment analysis on the input graph
xSNP2GeneScores

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

Function to visualise enrichment results using heatmap
xSNP2nGenes

Function to define nearby genes given a list of SNPs
xEnrichForest

Function to visualise enrichment results using a forest plot
xGRviaGenomicAnnoAdv

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

Function to visualise enrichment results using ladder-like plot
xSocialiserGenes

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

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

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

Function to visualise terms used to annotate an input SNP or gene using different network layouts
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
xGRkaryogram

Function to visualise genomic regions using karyogram plot
xRWkernel

Function to calculate random walk kernel on the input graph
xGR2xGeneAnno

Function to conduct region-based enrichment analysis via crosslinked genes
xVisNet

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

Function to visualise genomic regions using manhattan plot
xVisKernels

Function to visualise distance kernel functions
xGraphML

Function to generate a graphml file from a graph object of class "igraph"
xGR2xGeneAnnoAdv

Function to conduct region-based enrichment analysis via crosslinked genes given a list of genomic region sets and a list of ontologies
xRepurpose

Function to obtain repurposing matrix
xFunArgs

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

Function to convert Rd files to HTML files
xGraphSplit

Function to split a graph according to a node attribute
xSM2DF

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

Function to visualise a data frame using a polar dotplot
xSocialiserDAGplot

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

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

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

Function to load the package built-in RData
xGR2xNet

Function to identify a gene network from an input network given a list of genomic regions
xSNPlocations

Function to extract genomic locations given a list of SNPs
xGRsep

Function to obtain separator index.
xSNPscores

Function to score lead or LD SNPs based on the given significance level
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)
xGRcse

Function to create a vector for genomic regions
xLDenricher

Function to conduct LD-based enrichment analysis using genomic annotations via sampling
xGRsort

Function to sort by chromosomes/seqnames, start and end coordinates of the intervals.
xGRtrack

Function to visualise genes within a genomic region using track plot
xSymbol2GeneID

Function to convert gene symbols to entrez geneid
xHeatmapAdv

Function to draw heatmap together with sidebars on rows using ggplot2
xHEB

Function to visualise a graph with communities using hierarchical edge bundling
xLDsampling

Function to generate randomly sampled LD blocks
xLDblock

Function to obtain LD blocks
xHeatmap

Function to draw heatmap using ggplot2
xVolcano

Function to draw a volcano plot
xLiftOver

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

Function to simplify networks from an igraph object
xOBOcode

Function to create codes annotating nodes in an igraph object
xSocialiser

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

Function to visualise promoter capture HiC data using different network layouts
xPolarBar

Function to visualise a data frame using a polar barplot
xRdWrap

Function to wrap texts from Rd files
xSubneterGR

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

Function to regress data according to principle components (PCs)
xSubneterGenes

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

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

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

Function to visualise interpolated irregular data
xVisInterpAnimate

Function to animate the visualisation of interpolated irregular data
aOnto

Definition for S3 class aOnto
bLD

Definition for S3 class bLD
cPath

Definition for S3 class cPath
eTerm

Definition for S3 class eTerm
DR

Definition for S3 class DR
ls_eTerm

Definition for S3 class ls_eTerm
ImmunoBase

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

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

Definition for S3 class mSeed