Learn R Programming

Canopy (version 1.3.0)

getlikelihood.sna: To get SNA likelihood of the tree

Description

To get SNA likelihood of the tree given tree struture and data input. Used in canopy.sample.nocna and canopy.sample.cluster.nocna.

Usage

getlikelihood.sna(tree, R, X)

Arguments

tree

input tree

R

alternative allele read depth matrix

X

total read depth matrix

Value

Likelihood of sampled tree.

Examples

Run this code
# NOT RUN {
    data(MDA231)
    data(MDA231_tree)
    R = MDA231$R
    X = MDA231$X
    getlikelihood.sna(MDA231_tree, R, X)
# }

Run the code above in your browser using DataLab