Learn R Programming

Canopy (version 1.0.0)

sampP: To sample clonal frequency

Description

To sample clonal frequency matrix $P$. Used in canopy.sample.

Usage

sampP(tree, cell.line)

Arguments

tree
input tree
cell.line
default to be FALSE, TRUE if input sample is cell line (no normal cell contamination)

Value

Newly sampled clonal frequency matrix $P$.

Examples

Run this code
data(MDA231_tree)
sampP(MDA231_tree, cell.line = TRUE)

Run the code above in your browser using DataLab