Description Usage Arguments Value Author(s) Examples
To sample clonal frequency matrix P. Used in canopy.sample
.
1 | sampP(tree, cell.line)
|
tree |
input tree |
cell.line |
default to be FALSE, TRUE if input sample is cell line (no normal cell contamination) |
Newly sampled clonal frequency matrix P.
Yuchao Jiang yuchaoj@wharton.upenn.edu
1 2 | data(MDA231_tree)
sampP(MDA231_tree, cell.line = TRUE)
|
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
MCP1833_bone MCP1834_lung MCP2287_bone MDA-MB-231_parental MCP3481_lung
clone1 0.000 0.000 0.000 0.000 0.000
clone2 0.006 0.000 0.399 0.992 0.003
clone3 0.991 0.001 0.600 0.005 0.001
clone4 0.003 0.999 0.001 0.003 0.996
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.