assign_colorsAnnotation function

Assing Colors to Class

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")

Arguments

  • 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

Returns

The input data.frame with two extra columns specifying the colors for all vertexes according to their respective vertex-class

  • Maintainer: José Manuel Monroy Kuhn
  • License: GPL-3
  • Last published: 2021-09-30

Useful links

    Downloads (last 30 days):