subsets Giotto object including previous analyses.
subsetGiotto(gobject, cell_ids = NULL, gene_ids = NULL, verbose = FALSE)
giotto object
# \donttest{
data(mini_giotto_single_cell)
#> Warning: data set ‘mini_giotto_single_cell’ not found
random_cells = sample(slot(mini_giotto_single_cell, 'cell_ID'), 10)
#> Error: object 'mini_giotto_single_cell' not found
random_genes = sample(slot(mini_giotto_single_cell, 'gene_ID'), 10)
#> Error: object 'mini_giotto_single_cell' not found
subset_obj = subsetGiotto(mini_giotto_single_cell,
cell_ids = random_cells,
gene_ids = random_genes)
#> Error in subsetGiotto(mini_giotto_single_cell, cell_ids = random_cells, gene_ids = random_genes): unused argument (gene_ids = random_genes)
# }