getZ {Canopy}R Documentation

To get SNA genotyping matrix Z

Description

To get SNA genotyping matrix Z 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 Z.

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]