countViewer | R Documentation |
The Count Viewer aims to visualize the number of cells associated to each cluster. This representation displays the clusters in the X-axis and the total number of associated cells in the Y-axis. Additionally, the numbers of cells associated to each cluster for each sample are also displayed using a jitter representation. The size of the dots is proportional to the total number of associated cells.
countViewer(Results, samples = NULL, clusters = NULL, min.cells = 0,
sort = TRUE, max.dots_size = NULL, show.samples = TRUE,
show.on_device = TRUE)
Results |
a 'Results' object |
samples |
a character vector providing the sample names to used (all samples by default) |
clusters |
a character vector containing the clusters names to be visualized (by default all clusters will be displayed) |
min.cells |
a numeric specifying the minimum number of cell (sum of all selected samples) to display a cluster |
sort |
a logical specifying if the clusters will be to be sorted (descending) based on the sum of all selected samples for each cluster |
max.dots_size |
a numeric specifying the number of cells in the largest dot |
show.samples |
a logical specifying if the number of cells for all selected samples will be displayed |
show.on_device |
a logical specifying if the representation will be displayed on device |
By default, all clusters will be displayed but the representation can be restricted to a set of selected samples (using the 'samples' parameter) or to a set of selected clusters (using the 'clusters' parameter).
a 'ggplot' object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.