Learn R Programming

mpMap2 (version 1.0.4)

exportMapToPretzl: Export genetic map to Pretzl

Description

Export genetic map to Pretzl

Usage

exportMapToPretzl(inputObject, name, separateChromosomes = FALSE)

Arguments

inputObject

The object of class mpcrossMapped containing the genetic map

name

If a single JSON object is being exported, the name of the exported map.

separateChromosomes

If TRUE, separate exports will be generated for each chromosome. The name associated with each chromosome map will contain the chromosome name as a suffix.

Value

A list containing JSON, suitable for import into Pretzl.

Details

Convert the genetic map from an object of class mpcrossMapped to the JSON format used by Pretzl. Pretzl is a web app for visualising and comparing genetic maps.