subsetGiottoLocs: Subset by spatial locations

View source: R/auxiliary_giotto.R

subsetGiottoLocsR Documentation

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

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

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


drieslab/Giotto_site_suite documentation built on April 26, 2023, 11:51 p.m.