write.mct: Write MapChart file

Description Usage Arguments Examples

View source: R/exported_functions.R

Description

Write a .mct file of a maplist for external plotting with MapChart software (Voorrips ).

Usage

1
2
3
write.mct(maplist, mapdir = "mapping_files_MDSMap",
  file_info = paste("; MapChart file created on", Sys.Date()),
  filename = "MapFile", precision = 2, showMarkerNames = FALSE)

Arguments

maplist

A list of maps. In the first column marker names and in the second their position. All map data are compiled into a single MapChart file.

mapdir

Directory to which .mct files are written, by default the same directory as for MDSMap_from_list

file_info

A character string added to the first lines of the .mct file, by default a datestamp is recorded.

filename

Character string of filename to write the .mct file to, by default "MapFile"

precision

To how many decimal places should marker positions be specified (default = 2)?

showMarkerNames

Logical, by default FALSE, if TRUE, the marker names will be diplayed in the MapChart output as well.

Examples

1
2
data("integrated.maplist")
write.mct(integrated.maplist)

mdavy86/polymapR documentation built on May 25, 2019, 9:35 p.m.