chessboard.api.vis.Heatmap
- chessboard.api.vis.Heatmap(data, row_labels=None, col_labels=None, savefig=None, xlab='Samples', ylab='LSV')
Heatmap plot
Plots a heatmap representation of the data without clustering. Note that \(\Psi\) values are shown in the heatmap and white spaces are missing values. Custom assignments can be added.
- Parameters
data (
Data
) – Chessboard object.row_labels – Vector of custom LSV assignments. This should be a binary matrix with n_cluster columns and n_lsv rows. A (1) indicates the the LSV is signal in the corresponding cluster.
col_labels – Vector of integer labels for samples
savefig – Path to plot output save. If
None
, the plot is not saved.xlab – x-axis label
ylab – y-axis label