hlpr_scatterplot | R Documentation |
Color to + scatterplot helper
hlpr_scatterplot(
object,
spata_df,
color_to,
method_gs = "mean",
display_title = FALSE,
pt_size = 2,
pt_alpha = 1,
pt_clrsp = "inferno",
pt_clrp = "milo",
pt_clr = "black",
smooth = FALSE,
smooth_span = 0.02,
normalize = TRUE,
verbose = TRUE,
complete = FALSE,
...
)
object |
An object of class |
color_to |
Named list. |
method_gs |
Character value. The method according to which gene sets will be handled specified as a character of length one. This can be either 'mean or one of 'gsva', 'ssgsea', 'zscore', or 'plage'. The latter four will be given to gsva::GSVA(). |
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 |
normalize |
Logical. If set to TRUE values will be scaled to 0-1. Hint: Variables that are uniformly expressed can not be scaled and are discarded. |
verbose |
Logical. If set to TRUE informative messages regarding the computational progress will be printed. (Warning messages will always be printed.) |
A named list. Slot data contains a data.frame as input for data
of ggplot2::ggplot()
and
slot add_on contains a list of ggplot-add-ons.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.