Skip to content

Commit

Permalink
convert to data frame
Browse files Browse the repository at this point in the history
  • Loading branch information
jokergoo committed Apr 13, 2023
1 parent cf36750 commit cf794d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/HeatmapAnnotation-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit cf794d6

Please sign in to comment.