removeLegend {APackOfTheClones} | R Documentation |
Remove current APackOfTheClones legend
Description
Removes the clone size legend on an APackOfTheClones plot, if one is present. Will preserve any additional ggplot layers.
Usage
removeLegend(apotc_ggplot)
Arguments
apotc_ggplot |
Value
A ggplot object of the APackOfTheClones clonal expansion plot of the
seurat object. There is an additional 10th element in the object named
"APackOfTheClones"
used by other functions in this package and shouldn't
interfere with any other ggplot functionality. (As far as currently known)
See Also
Examples
# create an APackOfTheClones plot with a legend
apotc_plot <- vizAPOTC(
get(data("combined_pbmc")),
add_size_legend = TRUE,
verbose = FALSE
)
# remove the legend
apotc_plot <- removeLegend(apotc_plot)
apotc_plot
[Package APackOfTheClones version 1.2.0 Index]