Description Usage Arguments Value Examples
Plot the CHETAH classification on 2D visulization like t-SNE + the corresponding classification tree, colored with the same colors
1 2 |
input |
a SingleCellExperiment on which |
redD |
the name of the reducedDim of the input to use for plotting |
interm |
color the intermediate instead of the final types |
return |
return the plot instead of printing it |
tree |
plot the tree, along with the classification |
pt.size |
the point-size of the classication plot |
return_col |
whether the colors that are used for the classification plot should be returned |
col |
custom colors for the cell types. the colors should be named with the corresponding cell types |
a ggplot object
1 2 3 4 5 6 7 8 | ## Standard plot (final types colored)
PlotCHETAH(input = input_mel)
## Intermediate types colored
PlotCHETAH(input = input_mel, interm = TRUE)
## Plot only the t-SNE plot
PlotCHETAH(input = input_mel, tree = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.