getlikelihood.sna {Canopy}R Documentation

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.

Author(s)

Yuchao Jiang yuchaoj@wharton.upenn.edu

Examples

    data(MDA231)
    data(MDA231_tree)
    R = MDA231$R
    X = MDA231$X
    getlikelihood.sna(MDA231_tree, R, X)

[Package Canopy version 1.3.0 Index]