flower_plot_inner | R Documentation |
Modified from http://blog.sciencenet.cn/blog-3406804-1159241.html
flower_plot_inner(
sample,
total_num,
core_num,
start = 90,
a = 0.5,
b = 2,
r = 1,
group_color = rgb(135, 206, 235, 150, max = 255),
group_color_alpha = 0.6,
common_color_alpha = 0.6,
label = "core",
common_color = "white",
...
)
sample |
A vector of sample names. Like c("Grp1", "Grp2", "Grp3") |
total_num |
Number of total or specififc items for each group. like c(20, 30, 40) |
core_num |
Number of items common to all groups. |
start |
Start position of first ellipse. Default 90 represents starting from 0 clock. |
a , b |
Vectors, radii of the ellypses along the two axes in user units. |
r |
Set the size of the center circle. |
group_color |
Set the color of the petal ellipse (each group), with input format,like:c('#6181BD4E','#F348004E','#64A10E4E'...) or supply a RColorBrewer color set like "Set1", "Set2", "Set3", "YlOrRd" (check http://www.sthda.com/english/wiki/colors-in-r for more). |
label |
The name of the center circle. |
common_color |
The color of the center circle. Default "white". |
... |
Additional arguments passed to |
This function is not planned for public usages.
A pdf image.
flower_plot_inner(sample = sample_id, total_num = total_num, core_num = core_num)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.