Learn R Programming

polymapR (version 1.0.17)

write.TSNPM: 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 send to stdout?

Value

NULL

Examples

Run this code
# NOT RUN {
data("phased.maplist")
write.TSNPM(phased.maplist,ploidy=4)
# }

Run the code above in your browser using DataLab