spatDeconvPlot#
Last Updated: Jan 14, 2025
Description#
Visualize cell type enrichment / deconvolution results in a scatterpie
Usage#
spatDeconvPlot(
gobject,
spat_unit = NULL,
feat_type = NULL,
deconv_name = "DWLS",
show_image = F,
gimage = NULL,
image_name = NULL,
largeImage_name = NULL,
spat_loc_name = NULL,
sdimx = "sdimx",
sdimy = "sdimy",
cell_color_code = NULL,
line_color = NA,
radius = 10,
alpha = 1,
legend_text = 8,
background_color = "white",
title = NULL,
axis_text = 8,
axis_title = 8,
coord_fix_ratio = 1,
show_plot = NA,
return_plot = NA,
save_plot = NA,
save_param = list(),
default_save_name = "spatDeconvPlot"
)
Arguments#
|
giotto object |
|
spatial unit |
|
feature type |
|
name of deconvolution results to use |
|
show a tissue background image |
|
a giotto image |
|
name of a giotto image |
|
name of a giottoLargeImage |
|
name of spatial locations |
|
x-axis dimension name (default = ‘sdimx’) |
|
y-axis dimension name (default = ‘sdimy’) |
|
named vector with colors |
|
color of line within pie charts |
|
radios of pie charts |
|
alpha of pie charts |
|
size of legend text |
|
color of plot background |
|
title for plot (default = deconv_name) |
|
size of axis text |
|
size of axis title |
|
fix ratio between x and y-axis |
|
show plot |
|
return ggplot 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 |
Details#
Description of parameters.
Value#
ggplot