View source: R/right_phenoplot.R
build_right_phenoplot | R Documentation |
build_right_phenoplot() builds a horizontal plot displaying the mean difference in phenotype score between individuals with the alternate vs reference alleles for each SNP locus, grouped by marker group, coloured by the alternate allele frequency of each SNP. Makes use of the $Varfile phenotypic information from haplotyping object. It is an internal function called by crosshap_viz(), though can be called separately to build a stand-alone plot.
build_right_phenoplot(HapObject, epsilon, hide_labels = TRUE)
HapObject |
Haplotype object created by run_haplotyping(). |
epsilon |
Epsilon to visualize haplotyping results for. |
hide_labels |
If TRUE, legend is hidden. |
A ggplot2 object.
build_right_phenoplot(HapObject, epsilon = 0.6, hide_labels = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.