Learn R Programming

polymapR (version 1.1.7)

Linkage Analysis in Outcrossing Polyploids

Description

Creation of linkage maps in polyploid species from marker dosage scores of an F1 cross from two heterozygous parents. Currently works for outcrossing diploid, autotriploid, autotetraploid and autohexaploid species, as well as segmental allotetraploids. Methods are described in a manuscript of Bourke et al. (2018) . Since version 1.1.0, both discrete and probabilistic genotypes are acceptable input; for more details on the latter see Liao et al. (2021) .

Copy Link

Version

Install

install.packages('polymapR')

Monthly Downloads

328

Version

1.1.7

License

GPL

Maintainer

Peter Bourke

Last Published

October 17th, 2025

Functions in polymapR (1.1.7)

createTetraOriginInput

Create input files for TetraOrigin using an integrated linkage map list and marker dosage matrix
cluster_per_LG

Cluster 1.0 markers into correct homologues per linkage group
compare_maps

Compare linkage maps, showing links between connecting markers common to neighbouring maps
gp_df

An example of a genotype probability data frame
convert_marker_dosages

Convert marker dosages to the basic types.
check_maxP

check your dataset's maxP distribution
convert_polyRAD

Convert (probabilistic) genotype calling results from polyRAD to input compatible with polymapR
gp_overview

gp_overview
consensus_LG_assignment

Consensus LG assignment
consensus_LG_names

Find consensus linkage group names
merge_homologues

Merge homologues
marker_data_summary

Summarize marker data
create_phased_maplist

Create a phased homologue map list using the original dosages
map3

A sample map
define_LG_structure

Generate linkage group and homologue structure of SxN markers
finish_linkage_analysis

Linkage analysis between all markertypes within a linkage group.
get_markertype_combinations

Visualize and get all markertype combinations for which there are functions in polymapR
mout

Example output dataset of updog::multidog function
map2

A sample map
exampleRAD_mapping

Example output dataset of polyRAD::PipelineMapping2Parents function
r2_functions

Calculate recombination frequency, LOD and log-likelihood from frequency tables in a random pairing diploid cross.
phase_SN_diploid

Phase 1.0 markers at the diploid level
phased.maplist

A list of phased maps
r3_functions

Calculate recombination frequency, LOD and log-likelihood from frequency tables in a random pairing triploid from a 4x2 or 2x4 cross.
linkage

Calculate recombination frequency, LOD and phase
correctDosages

Check if dosage scores may have to be shifted
convert_updog

Convert (probabilistic) genotype calling results from updog to input compatible with polymapR.
integrated.maplist

A nested list with integrated maps
plot_phased_maplist

Visualise the phased homologue maplist
overviewSNlinks

Plotting 1.0 links between homologues
r6_functions

Calculate recombination frequency, LOD and log-likelihood from frequency tables in a random pairing hexaploid
r4_functions

Calculate recombination frequency, LOD and log-likelihood from frequency tables in a random pairing tetraploid
screen_for_duplicate_markers

Screen for and remove duplicated markers
test_prefpairing

Check for and estimate preferential pairing
write.pwd

Write a JoinMap compatible .pwd file from linkage data.frame.
p4_functions

Calculate recombination frequency, LOD and log-likelihood from frequency tables in a preferential pairing tetraploid
marker_binning

Perform binning of markers.
homologue_lg_assignment

Assign markers to linkage groups and homologues.
linkage.gp

Calculate recombination frequency, LOD and phase using genotype probabilities
maplist_P1

A list of maps of one parent
gp_vignette_data

A list of objects needed to build the probabilistic genotype vignette
write_nested_list

Write out a nested list
map1

A sample map
polymapR-package

polymapR: Linkage Analysis in Outcrossing Polyploids
write.TSNPM

Write TetraploidSNPMap input file
plot_hom_vs_LG

Plot homologue position versus integrated positions
plot_map

Plot linkage maps
write.mct

Write MapChart file
screen_for_duplicate_individuals.gp

Screen for duplicate individuals using weighted genotype probabilities
screen_for_duplicate_individuals

Screen for duplicate individuals
parental_quantities

Calculate frequency of each markertype.
write_pwd_list

Write pwd files from a nested list
screen_for_NA_values

Screen marker data for NA values
r_LOD_plot

Plot r versus LOD
ALL_dosages

A dosage matrix for a random pairing tetraploid with five linkage groups.
MDSMap_from_list

Wrapper function for MDSMap to generate linkage maps from list of pairwise linkage estimates
SNSN_LOD_deviations

Identify deviations in LOD scores between pairs of simplex x nulliplex markers
add_dup_markers

Add back duplicate markers after mapping
check_map

Check the quality of a linkage map
checkF1

Identify the best-fitting F1 segregation types
cluster_SN_markers

Cluster 1.0 markers
chk1

Example output of the checkF1 function
LGHomDf_P1_1

A data.frame specifying the assigned homologue and linkage group number per SxN marker
all_linkages_list_P1

A (nested) list of linkage data frames classified per linkage group and homologue
SN_SN_P1

A linkage data.frame.
P1_SxS_Assigned

A data.frame with marker assignments
check_marker_assignment

Check for consistent marker assignment between both parents
calcSegtypeInfo

Build a list of segregation types
bridgeHomologues

Use bridge markers to cluster homologues into linkage groups
assign_linkage_group

Assign non-SN markers to a linkage group and homologue(s).
PCA_progeny

Perform a PCA on progeny
assign_SN_SN

Assign (leftover) 1.0 markers
P1_homologues

A list of cluster stacks at different LOD scores