diff --git a/R/HeatmapAnnotation-class.R b/R/HeatmapAnnotation-class.R index ee8e83a..a47b178 100755 --- a/R/HeatmapAnnotation-class.R +++ b/R/HeatmapAnnotation-class.R @@ -160,6 +160,8 @@ HeatmapAnnotation = function(..., if(inherits(oe, "try-errir")) { stop_wrap("`df` should be a data frame.") } + } else { + df = as.data.frame(df) } }