Learn R Programming

QuantumClone (version 1.0.0.6)

Tree_generation: Phylogenetic tree

Description

Generates a list of possible trees based on the cellularity of each clone, and the spatial and temporal distribution of the samples. Assumption is made the different clones are on different lines of the matrix

Usage

Tree_generation(Clone_cellularities, timepoints = NULL)

Arguments

Clone_cellularities

A dataframe with cellularities (ranging from 0 to 1) of each clone (rows) in each sample (columns)

timepoints

A numeric vector giving the spatial and/or temporal distribution of the samples