View source: R/auxiliary_giotto.R
subsetGiotto | R Documentation |
subsets Giotto object including previous analyses.
subsetGiotto(gobject, cell_ids = NULL, gene_ids = NULL, verbose = FALSE)
gobject |
giotto object |
cell_ids |
cell IDs to keep |
gene_ids |
gene IDs to keep |
verbose |
be verbose |
giotto object
data(mini_giotto_single_cell)
random_cells = sample(slot(mini_giotto_single_cell, 'cell_ID'), 10)
random_genes = sample(slot(mini_giotto_single_cell, 'gene_ID'), 10)
subset_obj = subsetGiotto(mini_giotto_single_cell,
cell_ids = random_cells,
gene_ids = random_genes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.