Generate a ggplot scatter plot
scatter_plot.RdA function to generate a scatter plot as `tagtango' does.
Usage
scatter_plot(
data,
labels,
values = c("a", "b"),
title = "UMAP of the RNA data",
xlabel = "first axis",
ylabel = "second axis"
)Arguments
- data
data.frame with dimension reduction axes.
- labels
array with labels for first (and potentially second selections), for all cells in `data'.
- values
boolean array with second selection cells as TRUE values, for all cells in `data'.
- title
boolean array with second selection cells as TRUE values, for all cells in `data'.
- xlabel
the text for the x axis.
- ylabel
the text for the y axis.