Open T-Heide opened 3 years ago
Minor changes as per title.
Also includes a change to make sure that opened pdf device is also closed if there is a error.
Example:
d = data.frame(matrix(1:6, nrow = 3)) annot = data.frame(row.names = colnames(d), "Label A" = 1:2, "Label B" = c(NA, NA)) pheatmap::pheatmap(d, annotation_col = annot)
Minor changes as per title.
Also includes a change to make sure that opened pdf device is also closed if there is a error.