Plot element cycle
plot_element_cycle(
cycle = "Nitrogen cycle",
anno_df = NULL,
only_anno = FALSE,
cell_fill = NA,
cell_color = "orange",
use_chinese = FALSE,
chemical_size = 7,
chemical_bold = TRUE,
chemical_color = "black",
chemical_label = TRUE,
reaction_width = 1,
reaction_arrow_size = 4,
reaction_arrow_closed = TRUE,
gene_or_ko = "gene",
gene_size = 3,
gene_x_offset = 0.3,
gene_y_offset = 0.15,
gene_label = TRUE,
gene_color = NULL,
gene_bold = TRUE,
gene_italic = TRUE,
gene_label_fill = "white"
)
one of c("Carbon cycle","Nitrogen cycle","Phosphorus cycle","Sulfur cycle","Iron cycle")
anno_df, columns should contains Gene or KO and Group
only show genes in anno_df?
cell fill color
cell border color
use chinese label?
chemical text size
chemical text bold
chemical text color
chemical text in geom_label or geom_text?
reaction line width
reaction arrow size
reaction arrow closed?
"gene" or "ko"
gene text size
gene_x_offset
gene_y_offset
gene text in geom_label or geom_text?
gene text color
gene text blod?
gene text italic?
gene label fill color
ggplot
if (requireNamespace("ggforce")) plot_element_cycle()
#> Loading required namespace: ggforce