reorganizeMarkersWithin: Reorganize markers within cross object.

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Reorder markers within cross object using supplied marker ordering vector.

Usage

1
  reorganizeMarkersWithin(cross, ordering)

Arguments

cross

An object of class cross. See read.cross for details.

ordering

Ordering vector specifying for every marker in the cross object (by name) which new chromosome this marker will be moved to.

Details

Functions reorders an object of class cross using the supplied marker ordering vector. This vector contains for each marker the chromosome number that this marker will be moved to.

Value

An object of class cross. See read.cross for details.

Author(s)

Konrad Zych k.zych@rug.nl, Danny Arends Danny.Arends@gmail.com Maintainer: Konrad Zych k.zych@rug.nl

See Also

Examples

1
2
3
4
5
6
7
  data(testCross)
  data(testPopulation)
  assignment <- cross.denovo(testPopulation,n.chr=5,verbose=TRUE,map="genetic",
  comparisonMethod=sumMajorityCorrelation, use.orderMarkers=FALSE,reOrder=FALSE)
  assignment #boring,but expected
  ordering <- assignChrToMarkers(assignment,testCross)
  testCross <- reorganizeMarkersWithin(testCross, ordering)

KonradZych/phenotypes2genotypes documentation built on May 30, 2019, 2:45 p.m.