pieVDJ | R Documentation |
pieVDJ
creates a list of pie charts created using ggplot
that shows the the level of expansion in each clonotype.
pieVDJ(x, ...)
## S4 method for signature 'Matrix'
pieVDJ(x, legend = "bottom")
## S4 method for signature 'matrix'
pieVDJ(x, ...)
## S4 method for signature 'clonoStats'
pieVDJ(x, ...)
x |
A |
... |
additional arguments. |
legend |
Can take on the values use in the legend.position command in ggplot ("left","top", "right", "bottom", or a numeric vector) to indicate where the legend should be placed. If left NULL, no legend will be created. |
If x
contains more than one sample, a list of pie charts
will be returned. If x
contains only one sample, the pie chart
will be returned. The coloring indicates the number of cells
for each clonotype with darker colors being clonotypes with a single cell
(singletons) and lighter colors having more cells with that clonotype
(expanded clonotype).
data('contigs')
x <- clonoStats(contigs)
pieVDJ(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.