Description Usage Arguments Value Examples
Visualization pie plot of cluster data of CYT
1 2 3 4 5 6 7 8 | plotPieCluster(
object,
item.use = c("PC_1", "PC_2"),
cex.size = 1,
size.by.cell.number = TRUE,
main = "2D pie plot of CYT",
plot.theme = theme_bw()
)
|
object |
A CYT object |
item.use |
character. Items use to 2D plot, axes x and y must be numeric. |
cex.size |
numeric. Size of the dot |
size.by.cell.number |
logical. Whether to show size of cell number. |
main |
character. Title of the plot. |
plot.theme |
themes from |
ggplot2 figure
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | cyt.file <- system.file("extdata/cyt.rds", package = "CytoTree")
cyt <- readRDS(file = cyt.file)
# Runs only have more than two stages
plotPieCluster(cyt, cex.size = 0.5)
plotPieCluster(cyt, item.use = c("PC_1", "PC_2"), cex.size = 0.5)
plotPieCluster(cyt, item.use = c("PC_2", "PC_3"), cex.size = 0.5)
plotPieCluster(cyt, item.use = c("tSNE_1", "tSNE_2"), cex.size = 20)
plotPieCluster(cyt, item.use = c("DC_1", "DC_2"), cex.size = 0.5)
plotPieCluster(cyt, item.use = c("UMAP_1", "UMAP_2"), cex.size = 1)
plotPieCluster(cyt, item.use = c("UMAP_1", "UMAP_2"), cex.size = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.