getlikelihood {Canopy} | R Documentation |
To get likelihood of the tree given tree struture and data input. Used in
canopy.sample
.
getlikelihood(tree,R,X,WM,Wm,epsilonM,epsilonm)
tree |
input tree |
R |
alternative allele read depth matrix |
X |
total read depth matrix |
WM |
observed major copy number matrix |
Wm |
observed minor copy number matrix |
epsilonM |
observed standard deviation of major copy number (scalar input is transformed into matrix) |
epsilonm |
observed standard deviation of minor copy number (scalar input is transformed into matrix) |
Likelihood of sampled tree.
Yuchao Jiang yuchaoj@wharton.upenn.edu
data(MDA231)
data(MDA231_tree)
R = MDA231$R
X = MDA231$X
WM = MDA231$WM
Wm = MDA231$Wm
epsilonM = MDA231$epsilonM
epsilonm = MDA231$epsilonm
getlikelihood(MDA231_tree, R, X, WM, Wm, epsilonM, epsilonm)