plotSurfaceBase | R Documentation |
Uses Rs base plotting device instead of ggplot2. This is usually faster but can not make use of the mechanism ggplot2 offers.
plotSurfaceBase(
object,
color_by = NULL,
alpha_by = NULL,
pt_alpha = 0.9,
pt_color = "grey",
pt_clrp = "milo",
pt_clrsp = "inferno",
pt_size = 1,
clrp_adjust = NULL,
smooth = FALSE,
smooth_span = 0.2,
display_axes = FALSE,
display_axes_title = FALSE,
display_image = NULL,
highlight_barcodes = NULL,
highlight_alpha = 0.75,
highlight_color = "orange",
xrange = NULL,
yrange = NULL,
adjust_pt_size = TRUE,
expand = 0,
pty = "s",
verbose = NULL,
unit = "px",
...
)
object |
An object of class |
color_by |
Character value. The variables by which to color the data points. |
pt_alpha |
Numeric value. Specifies the degree of transparency of all points. |
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_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. |
smooth |
Logical. If TRUE, a loess fit is used to smooth the values. |
smooth_span |
Numeric value. Controls the degree of smoothing.
Given to argument |
xrange , yrange |
Distance vector of length
two or |
expand |
Specifies image expansion. An image that is cropped based on an image
annotation centers around the image annotation. If |
verbose |
Logical. If (Warning messages will always be printed.) |
unit |
Character value. Specifies the desired unit in
which distance measures
or area measures are provided.
Run |
... |
Used to absorb deprecated arguments or functions. |
Plots right into the plotting window.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.