write.mct: Write MapChart file

View source: R/exported_functions.R

write.mctR Documentation

Write MapChart file

Description

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

Usage

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

## Not run: 
data("integrated.maplist")
write.mct(integrated.maplist)
## End(Not run)

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