KBoost

Luis F. Iglesias-Martinez, Barbara De Kegel and Walter Kolch

Introduction

KBoost is a gene regulatory network inference algorithm. It builds several models unsing kernel principal components regression and boosting and from them estimates the probability that each transcription factor regulates a gene. KBoost has one main function: kboost and a case specific function: kboost_human_symbol.

Quickstart

The function kboost infers gene regulatory networks from gene expression data. The gene expression data (D4_multi_1 in the examples below) needs to be a numerical matrix where the columns are the genes and the rows are the observations, patients or experiments.

Without Prior knowledge:

##              [,1]         [,2]         [,3]         [,4]
## [1,] 0.4448443050 0.0020788212 0.0051457926 0.0025597813
## [2,] 0.0005754407 0.0002955955 0.0004028377 0.0004049318
## [3,] 0.0046887521 0.0027442450 0.0024883828 0.0034858423

With Prior knowledge:

KBoost has a Bayesian formulation which allows the user to include prior knowledge. In biology this is commonly the case, particularly with well studied organisms. If the user knows of transcription factors that are well known to regulate certain genes, they can include this in a matrix prior_weights of size GxK, where G is the number of genes and K the number of transcription factors.

Take for example the well-known TP53-MDM2 interaction. The user would need fist to build the matrix prior_weights and in the column that corresponds to TP53 and the row that corresponds to MDM2 type a number that represents the prior probability of this interaction. We recommend using values higher that 0.5 but lower than 1 to avod nummerical errors in these cases. On the other hand, for interactions where no prior knowledge is available, the user can simply set 0.5.

##              [,1]         [,2]         [,3]         [,4]
## [1,] 0.4466380495 0.0020786567 0.0051458405 0.0025593613
## [2,] 0.0005763744 0.0002955955 0.0004028377 0.0004049318
## [3,] 0.0046963602 0.0027442450 0.0024883828 0.0034858423

With gene symbols

##            TP53       YY1      CTCF      ESR1
## TP53 0.00000000 0.2187129 0.9905211 0.8648322
## YY1  0.04256804 0.0000000 0.9173253 0.2425307
## CTCF 0.05052545 1.0000000 0.0000000 0.2998399
## MDM2 0.02313131 0.2466934 0.2186187 0.8006996
## ESR1 0.03246987 0.8940755 0.6973202 0.0000000
##      TP53 YY1 CTCF ESR1
## TP53  0.4 0.6  0.4  0.4
## YY1   0.4 0.4  0.4  0.4
## CTCF  0.4 0.4  0.4  0.4
## MDM2  0.4 0.4  0.4  0.4
## ESR1  0.4 0.4  0.4  0.4

Main Functions

KBoost(X, TFs, prior_weights, g, v, ite)

Function to infer gene regulatory network from gene expression data.

Input:

Output:
List with the following fields:

KBoost_human_symbol(X, gen_names, g, v, ite, pos_weight, neg_weight)

Function to infer gene regulatory network from human cell lines or patient samples. This function automatically builds a prior from Gerstein et al. (2012) and uses the list of TFs from Lambert et al. (2018). The gene expression data needs to be a numerical matrix.

Input:

Output:
List with the following fields:

AUPR_AUROC_matrix(Net, G_mat, auto_remove, TFs, upper_limit)

Function to calculate the AUROC and AUPR of a known network.

Input:

Output:
List with the following fields:

d4_mfac(v, g, ite)

Function to produce the KBoost AUPR and AUROC results on the DREAM4 Multifactorial Challenge.

Input:

Output:

get_prior_Gerstein(gen_names, TFs, pos_weight, neg_weight)

Function to build a prior from a previously built Network on ChIP-Seq from Gerstein et al. (2012).

Input:

Output:

grid_search_kboost(dataset, vs, gs, ite)

Function to perform a grid search and find the best hyperparameters.

Input:

Output:
List with the following fields:

irma_check(g, v, ite)

Function to produce the AUPR and AUROC Results on the DREAM4 Multifactorial Challenge.

Input:

Output:

net_dist_bin(GRN,TFs,thr)

Function to calculate the shortest distance between nodes.

Input:

Output:

Example:

net_summary_bin(GRN,TFs,thr,a,b)

Function to summarize the GRN filtered with a threshold.

Input:

Output: List with the following fields:

Example:

net_refine(Net)

Function to do a heuristic post-processing suggested by Slawek and Arodz that improves accuracy. Each column is multiplied by its variance.

Input:

Output:

write_GRN_D4(GRN,TFs, filename)

Function to write output in DREAM4 Challenge Format.

Input:

Datasets

DREAM 4 Multifactorial Perturbation Challenge Datasets

D4_multi_1, D4_multi_2, D4_multi_3, D4_multi_4 and D4_multi_5

The gene expression datasets from the DREAM4 multifactorial perturbation challenge. https://www.synapse.org/#!Synapse:syn3049712/wiki/74628 Marbach D, Prill RJ, Schaffter T, Mattiussi C, Floreano D, and Stolovitzky G. Revealing strengths and weaknesses of methods for gene network inference. PNAS, 107(14):6286-6291, 2010. Pubmed

To use:

G_D4_multi_1, G_D4_multi_2, G_D4_multi_3, G_D4_multi_4 and G_D4_multi_5

The gold standard networks from gene expression datasets from the DREAM4 multifactorial perturbation challenge. https://www.synapse.org/#!Synapse:syn3049712/wiki/74628 Marbach D, Prill RJ, Schaffter T, Mattiussi C, Floreano D, and Stolovitzky G. Revealing strengths and weaknesses of methods for gene network inference. PNAS, 107(14):6286-6291, 2010. Pubmed

To use:

Gerstein_Prior_ENET_2

Gene Regulatory Network from the ChIPSeq Dataset Encode in Human Cell-Lines. A matrix with two columns The fist column is a transcription factor and the second is a gene.

Gerstein, M.B., et al. Architecture of the human regulatory network derived from ENCODE data. Nature 2012;489(7414):91-100.

To use:

Human_TFs

Set of Genes that are Transcription Factors in Symbol nomenclature.

Lambert, S.A., et al. The Human Transcription Factors. Cell 2018;172(4):650-665.

To use: