markers2mendel_map_lines: create a vector of Mendel formatted map file strings

View source: R/mendel-interface.R

markers2mendel_map_linesR Documentation

create a vector of Mendel formatted map file strings

Description

This makes a vector of text that has carriage returns and things in it as necessary. So, to include it in a map file, if the return from this function is called D you can just do cat(D, sep = "", file = myMap.txt), for example.

Usage

markers2mendel_map_lines(df)

Arguments

df

A data frame in the format of long_markers.

Examples

data(long_markers)
D <- markers2mendel_map_lines(long_markers)
cat(D[1:100], sep = "")

eriqande/CKMRsim documentation built on Aug. 2, 2024, 7:23 a.m.