This function plot the samples based on the given coordinates, coloring each dot based on the value of its corresponding feature value/class.
1 2 3 4 |
coord |
The plotting coordinates, expected to be of two columns. Each row represents one dot for one sample (cell). |
emphasize |
The Indices of samples (cells) to be emphasized. When it is set, the colors of all the other cells are set to be #bdbdbd30. |
col |
The customized colors of dots. Either col or value must be given. |
... |
Other arguments passing to the plot function. |
value |
The values to be shown, with each value representing one sample (cell) with the same order as coord. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.