View source: R/auxiliary_giotto.R
subsetGiottoLocs | R Documentation |
Subsets Giotto object based on spatial locations
subsetGiottoLocs(
gobject,
spat_unit = NULL,
feat_type = NULL,
spat_loc_name = NULL,
x_max = NULL,
x_min = NULL,
y_max = NULL,
y_min = NULL,
z_max = NULL,
z_min = NULL,
poly_info = "cell",
return_gobject = TRUE,
verbose = FALSE
)
gobject |
giotto object |
spat_unit |
spatial unit (e.g. "cell") |
feat_type |
feature type (e.g. "rna", "dna", "protein") |
spat_loc_name |
name of spatial locations to use |
x_max, x_min, y_max, y_min, z_max, z_min |
minimum and maximum x, y, and z coordinates to subset to |
poly_info |
polygon information to use |
return_gobject |
return Giotto object |
verbose |
be verbose |
Subsets a Giotto based on spatial locations and for one provided spatial unit if return_gobject = FALSE, then a filtered combined metadata data.table will be returned
giotto object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.