subsetGiottoLocs
¶
Subset by spatial locations
Description¶
Subsets Giotto object based on spatial locations
Usage¶
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
)
Arguments¶
Argument |
Description |
---|---|
|
giotto object |
|
spatial unit |
|
feature type to use |
|
name of spatial locations to use |
|
minimum and maximum x, y, and z coordinates to subset to |
|
polygon information to use |
|
return Giotto object |
|
be verbose |
Details¶
- 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
Value¶
giotto object