table_to_map: Convert a table of genetic positions to a map

View source: R/genome_functions.R

table_to_mapR Documentation

Convert a table of genetic positions to a map

Description

This function is a simple wrapper around table2map.

Usage

table_to_map(df)

Arguments

df

A data.frame of genetic positions. The first column is the chromosome and the second column is the genetic position (in cM). Row names should be the marker names.

Value

A list with length equal to the number of chromosomes. Elements in the list are named numeric vectors of genetic positions and the names are the marker names.


neyhartj/qgsim documentation built on Nov. 11, 2023, 4:08 p.m.