Entering edit mode
6.9 years ago
arronar
▴
290
Hi.
I'm creating a simple interactive heatmap (without any clustering) using the d3heatmap package. My initial table looks like the following
|Position|Target| Sequence |Sample.1|Sample.2|
| 2 | S | MSKLPRT | 1 | 0.5 |
| 3 | P | KLPLPRT | 0 | 0.5 |
| 6 | K | KLDIRKM | 0.5 | 1 |
So until now I'm importing the matrix as matrix[ , 3:5]
in the d3heatmap function and the cell note on mouse over has Sequence
as Row and Sample.1/2
as column.
My question is if I can add the other's two columns data Position
and Target
inside the popup cell note.
Thanks