I'm trying to visualize a matrix of numerical strings, as a heatmap Take this example, of 36 element length "History" numerical strings, and, say I have 6 rows (i actually have 500 rows). I want to visualize a heat map of a matrix of 6x36 "pixels or cells". Additionally it would be great to sort or split them visually by True/False on the "Survive" variable.
testdata=
History Survive
1 111111111111111211111111111111111111 FALSE
2 111111111111111110000000000000000000 TRUE
3 000111222111111111111111111111110000 FALSE
4 111111111111111111111111100000000000 TRUE
5 011231111111111111111111111111111111 FALSE
6 111111234111111111111111110000000000 TRUE