updateApotc | R Documentation |
This generic function updates objects created by APackOfTheClones to the latest format or structure required by the package. It supports Seurat objects and ggplot objects generated by APackOfTheClones functions.
The current possible changes made by the function are:
when called on ggplots generated by vizAPOTC()
/ APOTCPlot()
, layer
names will be made unique.
updateApotc(x, verbose = TRUE, ...)
x |
An object to update. Supported types are Seurat objects and ggplot objects generated by APackOfTheClones. |
verbose |
Logical. Whether to print messages about the update process. Default is TRUE. |
... |
Additional arguments passed to methods. Currently unused. |
The updated object, or the original object if no update is required.
data("combined_pbmc")
apotc_plot <- vizAPOTC(combined_pbmc)
apotc_plot <- updateApotc(apotc_plot, verbose = TRUE)
apotc_plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.