Description Usage Arguments Details Value See Also
View source: R/prep_dimRedPlot_fx.R
Adding color values to a data.frame for plotting reduced dimensions
1 2 3 |
object |
|
color_by |
entry of either |
shape_by |
default: |
size_by |
default: |
circle_by |
Used for encircling points of interest; default: |
exprs_values |
The name of the expression values which will be used for the legend of the plot. |
dt_to_plot |
|
Basically a wrapper around fx.choose_vis_values_sce
that already makes smart assumptions about reasonable checks for any of
the factors specified via size_by
, color_by
, shape_by
.
This function will add columns for those factors so that they can be
conveniently used for faceting etc. using ggplot2
.
data.frame
fit for plotting with ggplot2
with
additional columns for color, shape and size
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.