View source: R/crestree.functions.R
Projects pptree onto embedding (e.g. tSNE)
1 2 3 4 5 |
r |
- pptree object |
emb |
- (x,y) coordinates data frame (e.g Rtsne $Y result) |
F |
- coordinates of principal points (optional) |
gene |
- a gene to show expression of (optional) |
mat |
- gene vs cell expression matrix (needed if option 'gene' is activated) |
pattern.cell |
- numeric profile of a quantity for each cell (e.g. expression of a gene or cell cycle stage) |
pattern.tree |
- numeric profile of a quantity for each principal point (e.g. expression of a gene or cell cycle stage) |
cex.col |
- color of points |
cex.main |
- cex of points |
cex.title |
- cex of title |
cex.tree |
- cex of principal points |
tips |
- logical, to draw indecies of tips of the tree. Usefull before usage of cleanup.branches() |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.