Description Usage Arguments Value
This function assigns two color columns (color name and rgb) to an annotation data frame according to a column named 'Class' or 'class'
1 | assign_colorsAnnotation(AnnotationDf, col = "Class")
|
AnnotationDf |
Annotation data frame that contains a factor variable to use to assign colors |
col |
Column with factor variable that will be used to assign colors |
The input data.frame with two extra columns specifying the colors for all vertexes according to their respective vertex-class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.