Learn R Programming

Canopy (version 1.3.0)

initialP: To initialize clonal frequency matrix

Description

To initialize clonal frequency matris \(P\). Used in initialization step of canopy.sample.

Usage

initialP(tree,sampname,cell.line)

Arguments

tree

input tree

sampname

vector of input sample names

cell.line

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

Value

Clonal frequency matrix \(P\).

Examples

Run this code
# NOT RUN {
data(MDA231_tree)
data(MDA231)
sampname = colnames(MDA231$R)
initialP(MDA231_tree, sampname, cell.line = TRUE)
# }

Run the code above in your browser using DataLab