Generate a ggplot plot for
DimReduc objects
# S3 method for DimReduc
autoplot(
object,
data = missing_arg(),
dims = c(1L, 2L),
na.rm = TRUE,
show.legend = NA,
...
)A DimReduc object
A data.frame (eg. from
FetchData) with extra data for visualization
Dimensions for visualization
Remove values with NAs
logical. Should this layer be included in the legends?
NA, the default, includes if any aesthetics are mapped.
FALSE never includes, and TRUE always includes.
It can also be a named logical vector to finely select the aesthetics to
display.
Arguments passed to geom_point
A ggplot object
The following aesthetics are mapped automatically:
“x”
“y”
“color”
Visualize Dimensional Reductions:
autolayer.DimReduc(),
fortify.DimReduc()