initialP {Canopy} | R Documentation |
To initialize clonal frequency matris P
. Used in initialization step of
canopy.sample
.
initialP(tree,sampname,cell.line)
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) |
Clonal frequency matrix P
.
Yuchao Jiang yuchaoj@wharton.upenn.edu
data(MDA231_tree)
data(MDA231)
sampname = colnames(MDA231$R)
initialP(MDA231_tree, sampname, cell.line = TRUE)