Description Usage Arguments Value Author(s) Examples
To get SNA genotyping matrix Z from location of SNAs on the tree. Used in
canopy.sample
.
1 | getZ(tree, sna.name)
|
tree |
input tree |
sna.name |
vector of SNA names |
Genotyping matrix Z.
Yuchao Jiang yuchaoj@wharton.upenn.edu
1 2 3 4 | data(MDA231_tree)
data(MDA231)
sna.name = rownames(MDA231$R)
getZ(MDA231_tree, sna.name)
|
Loading required package: ape
Loading required package: fields
Loading required package: spam
Loading required package: dotCall64
Loading required package: grid
Spam version 2.1-1 (2017-07-02) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.
Attaching package: 'spam'
The following objects are masked from 'package:base':
backsolve, forwardsolve
Loading required package: maps
Loading required package: pheatmap
Loading required package: scatterplot3d
clone1 clone2 clone3 clone4
BRAF 0 1 1 1
KRAS 0 1 1 1
ALPK2 0 1 1 1
RYR1 0 0 1 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.