Heatmaps of NMF factor matrices
plot_nmf_heatmaps(W, H, file = NULL, width = 10, height = 5)
Arguments
- W
Gene loading matrix (nrow(W) genes x ncol(W) factors).
- H
Sample loading matrix (nrow(H) factors x ncol(H) samples).
- file
Optional path to save a PNG.
- width
Plot width in inches when saving to file.
- height
Plot height in inches when saving to file.