Define the cells sample names and map the cell colors to some of their metadata.
sample_feature |
a character vector of cell features. Must be included in the column names of the cell metadata matrix. |
color_mapping |
a character vector having the same length as 'sample_features' and whose values are all different and either 'Hue', 'Saturation' or 'Value'. If NULL (default) the colors are chosen randomly. |
seed |
an integer setting the seed for random color generation. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.