Description Usage Arguments Examples
The function blockPlot
plots a combination Block Chart. The icicle plot in the upper is
used to display taxonomic classification and each row is a taxonomic rank. The number in parentheses
represents the number of genes. The bar charts in the lower exhibit function annotations and each row
is a function. The length represents the number of genes, and the color represents the taxon which
corresponds to the figure above.
1 2 3 | blockPlot(func_data, tax_data, func_split = ";", split_percentage = 10,
show_func_topn = 20, rownames_size = 10, tax_name_size = 3,
legend_label_size = 10, avoid_label_overlap = T)
|
func_data |
A data frame contains functional annotation. The first column is the gene name, and the second column is the functional annotation. |
tax_data |
A data frame contains taxonomic classification. It needs to contain at least three columns. The first column is the gene, and the rest columns are the taxonomic classification. |
gene_data |
A data frame contains gene profile. The first column is the gene, and the rest columns are the gene profile (0 presents absence and positive number presents presence). |
func_split |
Separator for multiple functions. |
show_func_topn |
Show top n of functioanl functions. |
split_percentage |
Split percentage. |
rownames_size |
The size of rownames. |
tax_name_size |
The size of taxa. |
sample_point_size |
The size of sample points. |
sample_point_alpha |
The alpha channel for transparency of sample points. |
block_alpha |
The alpha channel for transparency of blocks. |
legend_label_size |
The size of legend labels. |
avoid_label_overlap |
If 'TRUE', the text labels repel away from each other. |
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.