Theta_to_pathways: Compute the pathway probabilities given a Mutual Hazard...

View source: R/assessment.R

Theta_to_pathwaysR Documentation

Compute the pathway probabilities given a Mutual Hazard Network

Description

This function computes the pathway probabilities given a Mutual Hazard Network.

Usage

Theta_to_pathways(Theta, n_order = 4, prob_only = TRUE)

Arguments

Theta

An MHN represented by a square matrix.

n_order

Length of the pathways (Default: 4).

prob_only

A Boolean value that determines whether to output only the pathway probabilities or the data frame containing also the pathways (Default: TRUE).

Value

Pathway probabilities

Author(s)

Xiang Ge Luo


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