The widths of the boxes can be controlled by the width argument. ... and have set the scaling of your x and y axes you can then overlay more layers of data or annotation on top of the original chart. ... The legend function is used to add a standard data legend to a plot. ... To do this you set scale=”row” in the pheatmap options.
pheatmap-annotation-legend-position
Jan 18, 2020 — In this case, it is possible to position the legend inside the plotting area. x and y are ... pheatmap(data_subset, annotation_row = my_gene_col, ... 939c2ea5af
pheatmap annotation legend position
Comments