fixDisappearingClones: A clone that has a nonzero value at one time point cannot...

View source: R/object.R

fixDisappearingClonesR Documentation

A clone that has a nonzero value at one time point cannot completely disappear in a second, and then reappear in a third. That clone must have really been there all along. This function will "fix" any such instances by replacing the in-between zero values with a very small value.

Description

A clone that has a nonzero value at one time point cannot completely disappear in a second, and then reappear in a third. That clone must have really been there all along. This function will "fix" any such instances by replacing the in-between zero values with a very small value.

Usage

fixDisappearingClones(frac.table, nest.level)

Arguments

frac.table

A numeric matrix containing tumor fraction estimates for all clones at all timepoints

nest.level

An integer vector specifying how deeply a given clone is nested in the overall hierarchy

Value

The matrix with appropriate zeros converted to appropriate small values

Examples

## Not run: 

frac.table = fixDisappearingClones(frac.table, nest.level)

## End(Not run)


chrisamiller/fishplot documentation built on Sept. 15, 2023, 1:53 p.m.