getZ {Canopy}R Documentation

To get SNA genotyping matrix ZZ

Description

To get SNA genotyping matrix ZZ from location of SNAs on the tree. Used in canopy.sample.

Usage

getZ(tree, sna.name)

Arguments

tree

input tree

sna.name

vector of SNA names

Value

Genotyping matrix ZZ.

Author(s)

Yuchao Jiang yuchaoj@wharton.upenn.edu

Examples

data(MDA231_tree)
data(MDA231)
sna.name = rownames(MDA231$R)
getZ(MDA231_tree, sna.name)

[Package Canopy version 1.3.0 Index]