Description Usage Arguments Details Value Examples
Converts cluster results into provided annotation.
1 2 3 4 5 6 | annotateGiotto(
gobject,
annotation_vector = NULL,
cluster_column = NULL,
name = "cell_types"
)
|
gobject |
giotto object |
annotation_vector |
named annotation vector (names = cluster ids) |
cluster_column |
cluster column to convert to annotation names |
name |
new name for annotation column |
You need to specifify which (cluster) column you want to annotate and you need to provide an annotation vector like this:
1. identify the cell type of each cluster
2. create a vector of these cell types, e.g. cell_types = c('T-cell', 'B-cell', 'Stromal')
3. provide original cluster names to previous vector, e.g. names(cell_types) = c(2, 1, 3)
giotto object
1 | annotateGiotto(gobject)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.