merge_homologues: Merge homologues

Description Usage Arguments Value Examples

View source: R/exported_functions.R

Description

Based on additional information, homologue fragments, separated during clustered should be merged again. merge_homologues allows to merge homologues per linkage group based on user input.

Usage

1
2
merge_homologues(LG_hom_stack, ploidy, linkage_group, mergeList = NULL,
  log = NULL)

Arguments

LG_hom_stack

A data.frame with markernames, linkage group ("LG") and homologue ("homologue")

ploidy

The ploidy level of the plant species.

linkage_group

The linkage group where the to be merged homologue fragments are in.

mergeList

A list of vectors of length 2, specifying the numbers of the homologue fragments to be merged. User input is asked if NULL.

log

Character string specifying the log filename to which standard output should be written. If NULL log is send to stdout.

Value

A modified LG_hom_stack

Examples

1
2
data("LGHomDf_P2_1")
merged<-merge_homologues(LGHomDf_P2_1, 4, 2, list(c(1,5)))

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