diplo_freq: Diplotype frequencies

View source: R/diplo_freq.R

diplo_freqR Documentation

Diplotype frequencies

Description

Plot the frequency of individuals with diplotype dosage above a threshold

Usage

diplo_freq(data, diplotypes, dosage, position, chrom = NULL)

Arguments

data

Variable inheriting from class diallel_geno

diplotypes

Names of diplotypes

dosage

Dosage threshold

position

Either "cM" or "bp" for plotting

chrom

Names of chromosomes (default is all)

Details

Useful for visualizing selection in selfed populations.

Value

List containing

result

Data frame with the map and frequency

plot

ggplot object


jendelman/diaQTL documentation built on Jan. 27, 2024, 6:39 a.m.