View source: R/gg_blast_hits_summary.R
gg_blast_hits_summary | R Documentation |
blast_nucleotide_to_genomes
ResultThis function generates a joyplot of the blast_nucleotide_to_genomes
output.
gg_blast_hits_summary(
blast_tbl,
scope_cutoff = 0,
alpha = 0.7,
scale = 4,
query_name = "query",
xlab = "Query",
ylab = "Density over Number of BLAST Hits",
title = "Total number of BLAST hits: ",
xticks = 5,
levels = NULL,
trim = FALSE
)
blast_tbl |
a BLAST table generated with |
scope_cutoff |
The scope is defined as |
alpha |
a value passed to |
scale |
the ridges scale passed to |
query_name |
name of the query in the |
xlab |
x-axis label. |
ylab |
y-axis label. |
title |
figure title which will be concatenated with the number of BLAST hits available in the inpit |
xticks |
number of ticks on the x-axis. Default is |
levels |
a character vector specifying the exact order of species names (levels)
that is used to |
trim |
a logical value indicating whether ridges densities shall be trimmed. Default is |
In some cases it may happen that for certain species no line is drawn although there are a few hits present in the dataset. This happens when the hits are too few and their values too close to eachother to be able to estimate density functions. It is important to remember that density functions are estimated
which usually requires a sufficient amount data to be useful and accurate. However, when density estimation is not possible this plot will omit drawing a line since this visualization approach is intended to be an analytics tool.
Hajk-Georg Drost
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.