plotClusterProportions | R Documentation |
Generates plot of clusters sized by the proportion of total cells
plotClusterProportions(object, return.plot = FALSE)
object |
|
return.plot |
Return ggplot object (default FALSE) |
print plot to console (return.plot = FALSE); ggplot object (return.plot = TRUE) list of ggplot objects.
ligerex <- createLiger(list(ctrl = ctrl, stim = stim))
ligerex <- normalize(ligerex)
ligerex <- selectGenes(ligerex)
ligerex <- scaleNotCenter(ligerex)
ligerex <- optimizeALS(ligerex, k = 5, max.iter = 2)
ligerex <- quantile_norm(ligerex)
ligerex <- louvainCluster(ligerex)
plotClusterProportions(ligerex)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.