boxplot.snp.twoWay: SNP_box_twoWay

View source: R/boxplot.snp.twoWay.R

boxplot.snp.twoWayR Documentation

SNP_box_twoWay

Description

Same as boxplot.snp but based on two SNPs. This function makes box plots, showing the Genotype x Phenotype map for two loci. Works for both outbreed (nine boxes) and inbreed (four boxes) data. Can be used to look for epistasis.

Usage

boxplot.snp.twoWay(data, marker1, marker2, trait, legend = F, ...)

Arguments

data

a gwaa.data class object as used by gwaa.data-class

marker1

The name or index of one marker/SNP in data

marker2

The name or index of a second marker/SNP in data

trait

The name of a phenotype in data

legend

If TRUE, a legend showing the alternative genotypes for the two SNPs will be added to the plot.

Value

null

Author(s)

Simon Forsberg <simon.forsberg@slu.se>


cgmisc-team/cgmisc documentation built on Jan. 3, 2024, 9:52 p.m.