subsetGiotto
¶
subsetGiotto
Description¶
subsets Giotto object including previous analyses.
Usage¶
subsetGiotto(gobject, cell_ids = NULL, gene_ids = NULL, verbose = FALSE)
Arguments¶
Argument |
Description |
---|---|
|
giotto object |
|
cell IDs to keep |
|
gene IDs to keep |
|
be verbose |
Value¶
giotto object
Examples¶
list("\n", "\n", "data(mini_giotto_single_cell)\n", "\n", "random_cells = sample(slot(mini_giotto_single_cell, 'cell_ID'), 10)\n", "random_genes = sample(slot(mini_giotto_single_cell, 'gene_ID'), 10)\n", "\n", "subset_obj = subsetGiotto(mini_giotto_single_cell,\n", " cell_ids = random_cells,\n", " gene_ids = random_genes)\n", "\n")