Plotprops: Plot the proportion of parental alleles in hybrid individuals

View source: R/Plotprops.R

PlotpropsR Documentation

Plot the proportion of parental alleles in hybrid individuals

Description

Plot the proportion of parental alleles in hybrid individuals

Usage

Plotprops(Data, SNP_names, ploidy, S1_color, S0_color)

Arguments

Data

Object produced by the PrepareData function

SNP_names

Character or character vector, containing the names of SNPs that you want to plot.

ploidy

Numeric, ploidy of markers in the Data object.

S1_color

Character, desired color for the S1 parental alleles.

S0_color

Character, desired color for the S0 parental alleles.

Value

A plot displaying the proportion of parental alleles in hybrids at each SNP provided to the SNP_names parameter.

Examples

## Not run:  Plotprops(SNP_names = candidate_snps, ploidy = 2,
S1_color = 'red', S0_color = 'blue')
## End(Not run)

kfarleigh/HybridFindR documentation built on Jan. 29, 2024, 11:39 p.m.