assign_colorsAnnotation {CoNI}R Documentation

Assing Colors to Class

Description

This function assigns two color columns (color name and rgb) to an annotation data frame according to a column named 'Class' or 'class'

Usage

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

Value

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


[Package CoNI version 0.1.0 Index]