Description Usage Arguments Value Author(s) Examples
The main function to project positions from one map to another
1 2 |
map |
a map containing the positions to be projected. The map format is the same as the one used by Rqtl, ie a list of vectors of positions |
map1 |
the first reference map |
map2 |
the second reference map |
map2tomap1 |
if TRUE the positions of map will be projected from map2 to map1. Default is FALSE |
shift.extrem |
if TRUE (default) the new map will be shifted in case some positions are projected to negative values |
exclude |
a vector of marker names to exclude from references, typically showing discrepancies |
a map of new projected positions
J.-F. Rami rami@cirad.fr
1 2 3 4 5 | data(sorgho_p118)
genomv2<-as.map(genomv2.df)
#create a new dummy map
newmap<-as.map(data.frame(mk=paste("m",1:1000,sep=""),chr=c(rep(1,500),rep(2,500)),Pos=round(c(sort(runif(n=500,min=1,max=1e8)),sort(runif(n=500,min=1,max=1e8))),0)))
newmap.genet<-ziplinR(map=newmap,map1=genomv2,map2=p118.genet,exclude = "SB_06_045",shift.extrem = T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.