Visualizes dimensional reduction in a scatterplot.
plotPca(
object,
variable_set,
phase = NULL,
color_by = NULL,
color_aes = "fill",
pt_clrp = NULL,
pt_clrsp = NULL,
pt_alpha = NULL,
pt_clr = NULL,
pt_fill = NULL,
pt_size = NULL,
clrp_adjust = NULL,
add_ons = list(ggplot2::labs(fill = NULL, color = NULL)),
...
)
plotTsne(
object,
variable_set,
phase = NULL,
color_by = NULL,
color_aes = "fill",
pt_clrp = NULL,
pt_clrsp = NULL,
pt_alpha = NULL,
pt_clr = NULL,
pt_fill = NULL,
pt_size = NULL,
clrp_adjust = NULL,
add_ons = list(ggplot2::labs(fill = NULL, color = NULL)),
...
)
plotUmap(
object,
variable_set,
phase = NULL,
color_by = NULL,
color_aes = "fill",
pt_clrp = NULL,
pt_clrsp = NULL,
pt_alpha = NULL,
pt_clr = NULL,
pt_fill = NULL,
pt_size = NULL,
clrp_adjust = NULL,
add_ons = list(ggplot2::labs(fill = NULL, color = NULL)),
...
)
object | A valid cypro object. |
---|---|
variable_set | Character value. Denotes the variable set of interest. Use |
phase | Character or numeric. If character, the ordinal value referring to the phase of interest (e.g. 'first', 'second' etc.). referring to the phase of interest or 'all'. If numeric, the number referring to the phase. If set to NULL takes the phase denoted as default with Ignored if the experiment design contains only one phase. |
color_by | Character value or NULL. If character, denotes either the numeric- or grouping variable whoose values
are displayed by color. If set to NULL the color is specified by the argument |
color_aes | Character value. Only relevant if |
pt_clrp | The color palette to be used if the specified variable displayed by
color is categorical/discrete. Run |
pt_clrsp | The color spectrum to be used if the specified variable displayed by
color is continuous. Run |
pt_alpha | Numeric value. Specifies the degree of transparency of all points. |
pt_clr | Character value. Specifies the color of all points. |
pt_size | Numeric value. Specifies the size of all points. |
clrp_adjust | Named character vector or NULL. If character, it adjusts the color palette that is used to represent the groups. Names of the input vector must refer to the group and the respective named element denotes the color with which to represent the group. |
A ggplot.