getZ {Canopy} | R Documentation |
Z
To get SNA genotyping matrix Z
from location of SNAs on the tree. Used in
canopy.sample
.
getZ(tree, sna.name)
tree |
input tree |
sna.name |
vector of SNA names |
Genotyping matrix Z
.
Yuchao Jiang yuchaoj@wharton.upenn.edu
data(MDA231_tree)
data(MDA231)
sna.name = rownames(MDA231$R)
getZ(MDA231_tree, sna.name)