View source: R/auxiliary_giotto.R
subsetGiotto | R Documentation |
Subsets Giotto object including previous analyses.
subsetGiotto(
gobject,
spat_unit = NULL,
feat_type = NULL,
cell_ids = NULL,
feat_ids = NULL,
gene_ids = NULL,
poly_info = NULL,
all_spat_units = TRUE,
all_feat_types = TRUE,
x_max = NULL,
x_min = NULL,
y_max = NULL,
y_min = NULL,
verbose = FALSE,
toplevel_params = 2
)
gobject |
giotto object |
spat_unit |
spatial unit (e.g. "cell") |
feat_type |
feature type (e.g. "rna", "dna", "protein") |
cell_ids |
cell IDs to keep |
feat_ids |
feature IDs to keep |
gene_ids |
deprecated. Use |
poly_info |
polygon information to use |
all_spat_units |
subset all spatial units with selected feature ids |
all_feat_types |
subset all feature type data with selected cell ids |
x_max, x_min, y_max, y_min |
minimum and maximum x and y coordinates to keep for feature coordinates |
verbose |
be verbose |
toplevel_params |
parameters to extract |
Subsets a Giotto object for a specific spatial unit and feature type
giotto object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.