getSubColors | R Documentation |
Mapping the output of "getSingleCellDeconv()"to the best matching cell from the reference dataset
getSubColors( tab, class = "annotation_level_2", subclass = "annotation_level_4", pal = "Set3", max_pal = 12, random = T, seed = 200, into = "#EDEDED", add_n = 1 )
tab |
Input data of the class data.frame |
class |
Character value; The col containing the main class |
subclass |
Character value; The col containing the subclass |
pal |
Character value; Color pal from brewer.pal() |
random |
Logical. If TRUE random mixing colors from pal |
seed |
Integer value. set.seed() for constant color alignment |
into |
Character value; The color for non-classified samples |
add_n |
Integer value. Adopting the contrast of the subclass colors |
Dieter Henrik Heiland
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.