assign_colorsAnnotation: Assing Colors to Class

Description Usage Arguments Value

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

1
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


CoNI documentation built on Sept. 30, 2021, 5:09 p.m.