Description Usage Arguments Value
pxg_plot
generates a boxplot of phenotypes split by genotype at QTL peak position using ggplot2
1 2 |
plot_df |
the output from the |
loc |
custom location to output the pxg plot. Specified as CHROM:POS (e.g. II:1023423) |
use_base |
Show base at position rather than REF/ALT. |
color_strains |
character vector containing strains to color in plot. Default is c("N2","CB4856") |
Ouput is a ggplot object facetted by peak SNP (if there are multiple peaks in a mapping). Genotypes are encoded as REF or ALT and are on the x-axis. Phenotypes are on y-axis.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.