write.TSNPM: Write TetraploidSNPMap input file

View source: R/exported_functions.R

write.TSNPMR Documentation

Write TetraploidSNPMap input file

Description

Output the phased linkage map files into format readable by TetraploidSNPMap (Hackett et al. 2017) to perform QTL analysis.

Usage

write.TSNPM(
  phased.maplist,
  outputdir = "TetraploidSNPMap_QTLfiles",
  filename = "TSNPM",
  ploidy,
  verbose = FALSE
)

Arguments

phased.maplist

Phased maps in list format, the output of create_phased_maplist

outputdir

Directory to which TetraploidSNPMap files are written, by default written to "TetraploidSNPMap_QTLfiles" folder

filename

Character string of filename stem to write the output files to, by default "TSNPM" with linkage groups names appended

ploidy

The ploidy of the species, currently only 4 is supported by TetraploidSNPMap

verbose

Should messages be sent to stdout?

Value

NULL

Examples

## Not run: 
data("phased.maplist")
write.TSNPM(phased.maplist,ploidy=4)
## End(Not run)

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