Description Usage Arguments Details Value Examples
View source: R/auxiliary_giotto.R
subsets Giotto object based on spatial locations
1 2 3 4 5 6 7 8 9 10 11 |
gobject |
giotto object |
x_max |
maximum x-coordinate |
x_min |
minimum x-coordinate |
y_max |
maximum y-coordinate |
y_min |
minimum y-coordinate |
z_max |
maximum z-coordinate |
z_min |
minimum z-coordinate |
return_gobject |
return Giotto object |
verbose |
be verbose |
if return_gobject = FALSE, then a filtered combined metadata data.table will be returned
giotto object
1 2 3 4 5 6 7 8 9 10 11 12 | data(mini_giotto_single_cell)
# spatial plot
spatPlot(mini_giotto_single_cell)
# subset giotto object based on spatial locations
subset_obj = subsetGiottoLocs(mini_giotto_single_cell,
x_max = 1500, x_min = 1000,
y_max = -500, y_min = -1000)
# spatial plot of subset giotto object
spatPlot(subset_obj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.