write_pine_plot: Make the pine plot for a list of heatmaps and organize in a...

Description Usage Arguments Value

View source: R/make_pineplots.R

Description

Make the pine plot for a list of heatmaps and organize in a stacked, pine tree shape.

Usage

1
2
3
write_pine_plot(h_maps, num_heatmaps = length(h_maps), height = 30,
  width = 10, leg = FALSE, angle = c(-45), legend_x_offset = 0.02,
  legend_y_offset = 0, hm_y_offset = 0, hm_margin = 0)

Arguments

h_maps

List of heat maps to add to a pineplot.

num_heatmaps

The total number of heat maps to add to pine plot.

height

The height of the file to start plotting the heat maps.

width

The width of the file to start plotting the heat maps.

leg

Boolean indicating if plots have a legend.

angle

angle to rotate each heat map.

legend_x_offset

Depending on label size and length, may want to adjust position of the legend using offset.

legend_y_offset

Depending on label size and length, may want to adjust the y position of the pine plot.

hm_y_offset

Changes the y posiiton of heatmap shifting them higher or lower in the viewport.

hm_margin

Changes the space left between the heat maps if they need to be closer or farther appart for athstetic purpose.

Value

Pine plot written to view or a file if open. No return object.


klovens/pineplot documentation built on Nov. 4, 2019, 3:53 p.m.