The genes can be divided into multiple types based on how many samples are shared. 'pav_hist()' integrate a ring chart and a histogram to showing the number of gene types.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
pav_obj |
A PAV object. |
show_ring |
A logical value indicating whether draw ring chart. |
ring_pos_x |
A numeric vector that specifies the x-location of the ring chart, ranging from 0 to 1. |
ring_pos_y |
A numeric vector that specifies the y-location of the ring chart, ranging from 0 to 1. |
ring_r |
The radius of the ring chart, ranging from 0 to 0.5. |
type_colors |
A named vector of colors for types. e.g. c("distributed" = "red") |
x_title |
The text for the x-axis title. |
x_title_size |
The size of x-axis title. |
y_title |
The text for the y-axis title. |
y_title_size |
The size of y-axis title. |
x_breaks |
A numeric vector of break values on the x-axis. |
x_text_size |
The size of tick labels on the x-axis. |
y_text_size |
The size of tick labels on the y-axis. |
ring_labels_size |
The size of labels on the ring chart. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.