Learn R Programming

prioGene: Prioritize candidate genes for complex non-communicable diseases

:writing_hand: Authors

Erqiang Hu

College of Bioinformatics Science and Technology, Harbin Medical University

:arrow_double_down: Installation

Get the development version from github:

if(!requireNamespace("devtools", quietly = TRUE))
    install.packages("devtools")
devtools::install_github("huerqiang/prioGene")

Or the released version from CRAN:

install.packages("prioGene")

Common operations on prioGene

library(prioGene)

1. Construction of disease related networks

The function deal_net could get a disease-related network by retaining disease-causing genes and their One-step interaction neighbors in a human biological network. The parameter net means a human biological network, a matrix of two columns. The parameter dise_gene means a one-column-matrix of gene symbols obtained from the OMIM database or other disease-related databases. They need to be provided by the users. We provide examples separately in the package: prioGene::net and prioGene::dise_gene.

net_disease <- deal_net(net,dise_gene)

2. Calculation of network weights

These five functions form a pipeline to weight the nodes and edges of the network based on functional information. GO function annotation information comes from org.Hs.eg.db.

genes_mat <- get_gene_mat(net_disease)
terms_mat <- get_term_mat(net_disease)
net_disease_term <- get_net_disease_term(genes_mat,net_disease)
node_weight <- get_node_weight(genes_mat)
edge_weight <- get_edge_weight(net_disease_term,terms_mat)

3. Prioritization of candidate genes

The prioritization of candidate genes was performed based on disease risk scores of each gene obtained from an iteration process considering disease risks transferred between genes.

R_0<- get_R_0(dise_gene,node_weight,f=1)
result <- get_R(node_weight, net_disease_term, bet = 0.5, R_0 = R_0, threshold = 10^(-9))

Copy Link

Version

Install

install.packages('prioGene')

Monthly Downloads

188

Version

1.0.1

License

Artistic-2.0

Maintainer

Erqiang Hu

Last Published

February 1st, 2020

Functions in prioGene (1.0.1)

get_term_mat

Get a one-to-many matrix of GO term and gene
get_net_disease_term

Title Get the GO terms for each pair of nodes in the network
net

a network of genes
get_node_weight

Title weight node
get_neighbor

Title get neighbor of a node
get_gene_mat

Get a one-to-many matrix of gene and GO term
net_disease

a network of disease related genes
deal_net

Title deal with network
terms_mat

a matrix, GO terms and GO genes
net_disease_term

GO terms for each pair of nodes in the network
metabolic_net

a matrix, Human metabolic network
node_weight

a matrix, genes and their weights
genes_mat

a one-to-many matrix of GO term and gene
get_R_0

Title get the vector of initial disease risk scores for all genes
get_edge_weight

Title weight edge
get_R

Title get the final genetic disease risk scores
get_Q

Title get the disease risk transition probability matrix
get_W

Title
R_0

the vector of initial disease risk scores for all genes
dise_gene

a vector of disease related genes
edge_weight

weights of edges of a net