`x' must have at least 2 rows and 2 columns
Trick to plot heatmap with only one column is to make a matrix with the same column twice and then to do a heatmap. Use the command cbind to bind matrix, column by column
matrix_name <- cbind (matrix_name, matrix_name)
The output will look similar to this one I created.