This function assigns two color columns (color name and rgb) to an annotation data frame according to a column named 'Class' or 'class'
assign_colorsAnnotation(AnnotationDf, col = "Class")
Annotation data frame that contains a factor variable to use to assign colors
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