View source: R/proposed_steps.R

first_GBM_step | R Documentation |

`GBM`

) on expression matrix E followed by the `null_model_refinement_step`

This function utilizes the core gradient boosting machine model (`GBM`

) followed by the refinement step to generate the first adjacency matrix A of size p x p using the list of Tfs and the set of target genes. Several such adjacency matrices (A) are obtained based on the number of iterations to be performed. All these adjacency matrices are averaged to reduce the noise in the inferred intermediate GRN.

first_GBM_step(E, K, tfs, targets, Ntfs, Ntargets, lf, M, nu,s_f, no_iterations)

`E` |
N-by-p expression matrix. Columns correspond to genes, rows correspond to experiments. E is expected to be already normalized using standard methods, for example RMA. Colnames of E is the set of all genes. |

`K` |
N-by-p initial perturbation matrix. It directly corresponds to E matrix, e.g. if K[i,j] is equal to 1, it means that gene j was knocked-out in experiment i. Single gene knock-out experiments are rows of K with only one value 1. Colnames of K is set to be the set of all genes. By default it's a matrix of zeros of the same size as E, e.g. unknown initial perturbation state of genes. |

`tfs` |
List of names of transcription factors. In case of presence of prior mechanistic network it is a subset of all the p genes whereas in absence of such a mechanistic network it is a list of names of all the p genes. |

`targets` |
List of names of target genes. In case of presence of prior mechanistic network it is a subset of all the p genes whereas in absence of such a mechanistic network it is a list of names of all the p genes. |

`Ntfs` |
Total number of transcription factors used in the experiment. |

`Ntargets` |
Total number of target genes used in the experiment. |

`lf` |
Loss Function: 1 -> Least Squares and 2 -> Least Absolute Deviation |

`M` |
Number of extensions in boosting model, e.g. number of iterations of the main loop of RGBM algorithm. By default it's 5000. |

`nu` |
Shrinkage factor, learning rate, 0<nu<=1. Each extension to boosting model will be multiplied by the learning rate. By default it's 0.001. |

`s_f` |
Sampling rate of transcription factors, 0<s_f<=1. Fraction of transcription factors from E, as indicated by |

`no_iterations` |
Number of iterations to perform equivalent to building that many core LS-Boost/LAD-Boost models and then averaging them to have smooth edge-weights in the inferred intermediate GRN. |

Intermediate Gene Regulatory Network in form of a Ntfs-by-Ntargets adjacency matrix.

Raghvendra Mall <rmall@hbku.edu.qa>

`second_GBM_step`

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.