generate_random_tree: Generate a random tree

View source: R/simulations.R

generate_random_treeR Documentation

Generate a random tree

Description

Generate a random tree

Usage

generate_random_tree(K, unrelated_prob = 0)

Arguments

K

number of subclones in the population

unrelated_prob

probability of the emergence of a separate population

Value

a data frae with two columns indicating the cluster and its parent cluster


Militeee/rcongas documentation built on Nov. 1, 2024, 2:38 a.m.