The composition of genes in all samples can be viewed in 'pav_stackbar()'. The chart consists of a hierarchical cluster tree and a bar plot.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | pav_stackbar(
pav_obj,
show_relative = F,
add_phen_info = NULL,
type_colors = NULL,
phen_info_color_list = NULL,
cluster_distance = "euclidean",
cluster_method = "complete",
bar_width = 1,
sample_name_size = 4,
legend_side = "right",
legend_title = "Gene",
legend_title_size = NULL,
legend_text_size = NULL,
dend_width = 0.05,
name_width = 0.1
)
|
pav_obj |
A PAV object. |
show_relative |
A logical value indicating whether show relative value. |
add_phen_info |
A character string of 'phen_info' names. |
type_colors |
A named vector of colors for types. e.g. c("distributed" = "red") |
phen_info_color_list |
A list contains named vector of colors for 'phen_info' annotation. e.g. list(gender = c("Male" = "green", "Female" = "red")) |
cluster_distance |
Method to measure distance, pass to |
cluster_method |
Method to perform hierarchical clustering, pass to |
bar_width |
A numeric vector giving the relative width of bars, ranging from 0 to 1. |
sample_name_size |
The size of sample names. |
legend_side |
The position of legend ("top", "bottom", "right", "left"). |
legend_title |
The text for the legend title. |
legend_title_size |
The size of legend title. |
legend_text_size |
The size of legend item labels. |
dend_width |
The relative width of dendrogram, ranging from 0 to 1. |
name_width |
The relative width of sample names, ranging from 0 to 1. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.