plotMolecules2D | R Documentation |
Visualizes the positions of molecules in 2D space on the sample.
plotMolecules2D(
object,
molecules,
pt_alpha = 0.5,
pt_size = 1,
pt_clrp = NULL,
clrp_adjust = NULL,
use_scattermore = TRUE,
xrange = getCoordsRange(object)$x,
yrange = getCoordsRange(object)$y,
display_facets = TRUE,
nrow = NULL,
ncol = NULL,
assay_name = activeAssay(object),
...
)
object |
An object of class |
molecules |
Character vector. The molecules of interest. |
pt_alpha |
Numeric value. Specifies the degree of transparency of all points. |
pt_size |
Numeric value. Specifies the size of all points. |
pt_clrp |
The color palette to be used if the specified variable displayed by
color is categorical/discrete. Run |
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. |
use_scattermore |
Logical value. If |
xrange , yrange |
Distance vector of length
two or |
display_facets |
Logical value. If set to TRUE the plot is split via
|
nrow , ncol |
Numeric values or NULL. Used to arrange multiple plots. |
assay_name |
Only relevant if the |
... |
Used to absorb deprecated arguments or functions. |
The updated input object, containing the added, removed or computed results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.