write_pwd_list: Write pwd files from a nested list

View source: R/exported_functions.R

write_pwd_listR Documentation

Write pwd files from a nested list

Description

A wrapper for write.pwd, which allows to write multiple pwd files with a directory structure according to the nested linkage list.

Usage

write_pwd_list(
  linkages_list,
  target_parent,
  binned = FALSE,
  dir = getwd(),
  log = NULL
)

Arguments

linkages_list

A nested list with linkage group on the first level and homologue on the second.

target_parent

A character string specifying the name of the target parent.

binned

Logical. Are the markers binned? This information is used in the pwd header.

dir

A character string specifying the directory in which the files are written. Defaults to working directory.

log

Character string specifying the log filename to which standard output should be written. If NULL log is send to stdout.

Examples

## Not run: 
data("all_linkages_list_P1_split")
write_pwd_list(all_linkages_list_P1_split, target_parent="P1", binned=FALSE)
## End(Not run)

polymapR documentation built on Nov. 5, 2023, 1:09 a.m.