replacemap.scanone | R Documentation |
Replace the positions of LOD scores in output from
scanone
with values
based on an alternative map (such as a physical map), with
pseudomarker locations determined by linear interpolation.
## S3 method for class 'scanone'
replacemap(object, map)
object |
An object of class |
map |
A list containing the alternative genetic map. All
chromosomes in |
The positions of pseudomarkers are determined by linear interpolation
between markers. In the case of pseudomarkers beyond the ends of the
terminal markers on chromosomes, we use the overall lengths of the
chromosome in object
and map
to determine the new
spacing.
The input object
with the positions of LOD scores
revised to match those in the input map
.
Karl W Broman, broman@wisc.edu
replacemap.cross
,
est.map
, replacemap.scantwo
data(fake.f2)
origmap <- pull.map(fake.f2)
newmap <- est.map(fake.f2)
fake.f2 <- replacemap(fake.f2, newmap)
fake.f2 <- calc.genoprob(fake.f2, step=2.5)
out <- scanone(fake.f2, method="hk")
out.rev <- replacemap(out, origmap)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.