Last chance! 50% off unlimited learning
Sale ends in
This functions returns an ordering vector of markers for each marker it shows which chromosome the marker belongs to.
assignChrToMarkers(assignment, cross)
Chromosome assignment vector created using cross.denovo with reOrder = FALSE
An object of class cross
. See read.cross
for details.
Ordering vector, that can be used by reorganizeMarkersWithin function to reorder the cross object.
When using the cross.denovo function with the parameter reOrder = FALSE, its return value will be a chromosome assignment vector.
This chromosome assignment vector shows how chromosomes from the created map are assigned to chromosomes from the original map. By using
the assignChrToMarkers function the chromosome assignment vector is transformed into a marker ordering vector, which is used by
reorganizeMarkersWithin
to reorder markers inside the cross object.
reorganizeMarkersWithin
- Apply new ordering on the cross object using ordering vector.
cross.saturate
- Saturate existing map.
cross.denovo
- Create de novo genetic map or vector showing how chromosomes should be assigned.
# NOT RUN {
data(testCross)
data(testPopulation)
assignment <- cross.denovo(testPopulation,n.chr=5,verbose=TRUE,map="genetic",
comparisonMethod=sumMajorityCorrelation, use.orderMarkers=FALSE,reOrder=FALSE)
assignment
ordering <- assignChrToMarkers(assignment,testCross)
# }
Run the code above in your browser using DataLab