Learn R Programming

XGR (version 1.1.7)

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

189

Version

1.1.7

License

GPL-2

Maintainer

Last Published

January 8th, 2020

Functions in XGR (1.1.7)

xAddCoords

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

Definition for S3 class aOnto
ImmunoBase

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

Definition for S3 class GS
Haploid_regulators

Haploid mutagenesis screens for regulators of protein phenotypes
EG

Definition for S3 class EG
ls_eTerm

Definition for S3 class ls_eTerm
JKscience_TS2A

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

Function to combine networks from a list of igraph objects
eTerm

Definition for S3 class eTerm
xAggregate

Function to aggregate data respecting number of features
xDefineOntology

Function to define ontology and its annotations
xCircos

Function to visualise a network as a circos plot
xColormap

Function to define a colormap
xEnrichBarplot

Function to visualise enrichment results using a barplot
iSubg

Definition for S3 class iSubg
xDAGanno

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

Function to convert an object between graph classes
xCtree

Function to draw a tree-like circular plot
xAuxEmbed

Function to encode a file as a base64 string for embedding
xAuxFunArgs

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

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

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

Function to wrap texts from Rd files
xDefineNet

Function to define a gene network
xAuxRd2HTML

Function to convert Rd files to HTML files
xDefineEQTL

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

Function to make enrichment results conciser by removing redundant terms
xDAGsim

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

Function to visualise enrichment results using a tree-like circular plot
xDAGpropagate

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

Function to visualise enrichment results using a forest plot
xEnrichChord

Function to visualise enrichment results using a chord plot
xEnrichViewer

Function to view enrichment results
xEnrichCompare

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

Function to define genomic annotations
xEnricher

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

Function to compare enrichment results using matrix plots
xEnrichNetplot

Function to visualise enrichment results using different network layouts
xEnrichDAGplot

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

Function to visualise enrichment results using a D3 plot
xEnrichRadial

Function to visualise enrichment results using radial-like plot
xEnrichGGraph

Function to visualise enrichment results using a ggraph-like lauout
xGR

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

Function to obtain separator index.
xGR2xGeneScores

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

Function to define graph node coordinates according to igraph- or sna-style layout
xGR2xGeneAnnoAdv

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

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

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

Function to visualise enrichment results using a treemap
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
xGR2xGenes

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

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

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

Function to create a vector storing genomic regions
xEnricherGenesAdv

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

Function to convert gene symbols to entrez geneid
xSNP2eGenes

Function to define eQTL genes given a list of SNPs or a customised eQTL mapping data
xEnricherGenes

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

Function to define HiC genes given a list of SNPs
xSocialiserDAGplotAdv

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

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

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

Function to generate a graphml file from a pathway upon query
xGR2GeneScores

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

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

Function to draw heatmap using ggplot2
xEnrichDotplot

Function to visualise enrichment results using dot-like plot
xEnrichLadder

Function to visualise enrichment results using ladder-like plot
xEnrichHeatmap

Function to visualise enrichment results using heatmap
xGR2nGenes

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

Function to visualise an igraph object using ggraph
xGGnetwork

Function to visualise an igraph object using ggnetwork
xSymbol2GeneID

Function to convert gene symbols to entrez geneid
xVisKernels

Function to visualise distance kernel functions
xGRscores

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

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

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

Function to conduct region-based enrichment analysis via crosslinked genes
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
xMarkNet

Function to mark a network within another network
xOBOcode

Function to create codes annotating nodes in an igraph object
xMEabf

Function to conduct colocalisation analysis through Wakefield's Approximate Bayes Factor approach integrating GWAS and eQTL summary data
xSNPlocations

Function to extract genomic locations given a list of SNPs
xSocialiser

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

Function to define nearby genes given a list of SNPs
xRDataLoader

Function to load the package built-in RData
xSNPscores

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

Function to generate a html-formatted report
xPieplot

Function to visualise data frame using pie plots
xSocialiserNetplot

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

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

Function to estimate memory allocated for an R variable or a file
xVisNet

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

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

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

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

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

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

Function to identify a minimum spanning tree for subnetworks
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)
xSimplifyNet

Function to simplify networks from an igraph object
xSubneterGenesAdv

Function to iteratively identify subnetworks from an input network and the signficance level imposed on its nodes
xSubneterGenes

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