simulateOneGenePatternGiottoObject
¶
simulateOneGenePatternGiottoObject
Description¶
Create a simulated spatial pattern for one selected gnee
Usage¶
simulateOneGenePatternGiottoObject(
gobject,
pattern_name = "pattern",
pattern_cell_ids = NULL,
gene_name = NULL,
spatial_prob = 0.95,
gradient_direction = NULL,
show_pattern = TRUE,
pattern_colors = c(`in` = "green", out = "red"),
...
)
Arguments¶
Argument |
Description |
---|---|
|
giotto object |
|
name of spatial pattern |
|
cell ids that make up the spatial pattern |
|
selected gene |
|
probability for a high expressing gene value to be part of the spatial pattern |
|
direction of gradient |
|
show the discrete spatial pattern |
|
2 color vector for the spatial pattern |
|
additional parameters for (re-)normalizing |
Value¶
Reprocessed Giotto object for which one gene has a forced spatial pattern