Assing Colors to Class
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")
AnnotationDf
: Annotation data frame that contains a factor variable to use to assign colorscol
: Column with factor variable that will be used to assign colorsThe input data.frame with two extra columns specifying the colors for all vertexes according to their respective vertex-class
Useful links
Downloads (last 30 days):