str(long.plexin)
'data.frame': 16672 obs. of 3 variables:
CLASS : chr "TLX1" "PRAC1" "CAT" "TBX1" ...
variable: num NA NA NA NA NA NA NA NA NA NA ...
$ value : num 0.144 1.544 0 0.209 0.162 ...
heatmap.plot <- ggplot(data = long.plexin, aes(x = "CLASS", y = "variable")) +
-
geom_tile(aes(fill = "value")) +
-
scale_fill_gradient2() +
-
theme(axis.text.y = element_text(size = 6))
print(heatmap.plot)
Error: Discrete value supplied to continuous scale
cant pinpoint why its return this error
edit:.. oh.. the NA values?