initialize_Theta: initialize_Theta(n, N, trees, lambda_s) A function that...

View source: R/learn_MHN.R

initialize_ThetaR Documentation

initialize_Theta(n, N, trees, lambda_s) A function that initializes the diagonal entries of a MHN based on the relative frequencies of each event starting from root.

Description

initialize_Theta(n, N, trees, lambda_s) A function that initializes the diagonal entries of a MHN based on the relative frequencies of each event starting from root.

Usage

initialize_Theta(n, N, trees, lambda_s)

Arguments

n

Number of events in the MHNs

N

Sample size

trees

Mutation tree structures

lambda_s

Rate of the sampling event

Value

An n-by-n matrix representing the initialized MHN


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