random_Theta: random_Theta(n, sparsity, exclusive_ratio) This function...

View source: R/simulations.R

random_ThetaR Documentation

random_Theta(n, sparsity, exclusive_ratio) This function randomly generates an MHN with log-transformed parameters.

Description

random_Theta(n, sparsity, exclusive_ratio) This function randomly generates an MHN with log-transformed parameters.

Usage

random_Theta(n, sparsity = 0.5, exclusive_ratio = 0.5)

Arguments

n

Number of mutational events

sparsity

Percentage of off diagonal elements with a value of zero in the MHN. (Default: 0.5)

exclusive_ratio

Percentage of non-zero elements that are negative, meaning that one mutation is inhibiting another mutation (Default: 0.9)

Value

An n-by-n matrix representing the MHN

Author(s)

Rudolf Schill, Xiang Ge Luo

References

Schill et al. (2020). Modelling cancer progression using Mutual Hazard Networks. Bioinformatics, 36(1), 241–249.


cbg-ethz/TreeMHN documentation built on Jan. 29, 2024, 1:29 p.m.