multiple_background_images.Rd
Generate a set of background images with different proportions of mixed cell types all at once. The default values for the arguments give an example of multiple image simulation which enable an automatic multiple image simulation without the specification of any argument.
A data frame or SpatialExperiment
class object with
locations of points representing background cells. Further cell types will
be simulated based on this background sample. The data.frame or the
spatialCoords()
of the SPE object should have colnames including
"Cell.X.Positions" and "Cell.Y.Positions". By default use the internal
bg1
background image.
String Vector. Names of the cell types to generate.
List. Each element is a vector of proportions of the corresponding cell type. The length of the vector is how many images to generate. All vectors should be of the same length, also equal to the number of images.
Boolean. Whether plot the simulated images or not. Default is TRUE.
String Vector. If plot_image is TRUE, this param is the
corresponding colours for the idents
arg. Default is NULL, the predefined
colour vector would be used for plotting.
A list of SPE objects
multiple_images_with_clusters
for simulating multiple
images with clusters, and multiple_images_with_immune_rings
for simulating multiple images with immune rings.
Other simulate multiple images functions:
multiple_images_with_clusters()
,
multiple_images_with_immune_rings()