build_right_phenoplot {crosshap} | R Documentation |
Right SNP-pheno phenoplot
Description
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.
Usage
build_right_phenoplot(HapObject, epsilon, hide_labels = TRUE)
Arguments
HapObject |
Haplotype object created by run_haplotyping(). |
epsilon |
Epsilon to visualize haplotyping results for. |
hide_labels |
If TRUE, legend is hidden. |
Value
A ggplot2 object.
Examples
build_right_phenoplot(HapObject, epsilon = 0.6, hide_labels = FALSE)
[Package crosshap version 1.4.0 Index]