plotRankSpatvsExpr#
Last Updated: Jan 14, 2025
Description#
Plots dotplot to compare ligand-receptor rankings from spatial and expression information
Usage#
plotRankSpatvsExpr(
gobject,
combCC,
expr_rnk_column = "LR_expr_rnk",
spat_rnk_column = "LR_spat_rnk",
midpoint = 10,
size_range = c(0.01, 1.5),
xlims = NULL,
ylims = NULL,
selected_ranks = c(1, 10, 20),
show_plot = NA,
return_plot = NA,
save_plot = NA,
save_param = list(),
default_save_name = "plotRankSpatvsExpr"
)
Arguments#
|
giotto object |
|
combined communinication scores
from |
|
column with expression rank information to use |
|
column with spatial rank information to use |
|
midpoint of colors |
|
size ranges of dotplot |
|
x-limits, numerical vector of 2 |
|
y-limits, numerical vector of 2 |
|
numerical vector, will be used to print out the percentage of top spatial ranks are recovered |
|
show plots |
|
return plotting object |
|
directly save the plot [boolean] |
|
list of saving parameters from
|
|
default save name for saving, don’t change, change save_name in save_param |
Value#
ggplot