write.pwd: Write a JoinMap compatible .pwd file from linkage data.frame.

View source: R/exported_functions.R

write.pwdR Documentation

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

Description

Output of this function allows to use JoinMap to perform the marker ordering step.

Usage

write.pwd(linkage_df, pwd_file, file_info, log = NULL)

Arguments

linkage_df

A linkage data.frame.

pwd_file

A character string specifying a file open for writing.

file_info

A character string added to the first lines of the .pwd file.

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(all_linkages_list_P1_split[["LG3"]][["homologue1"]],
           "LG3_homologue1_P1.pwd",
           "Please feed me to JoinMap")
## End(Not run)

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