File: replace.map.Rd

package info (click to toggle)
qtl 1.08-56-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,552 kB
  • ctags: 242
  • sloc: ansic: 8,903; makefile: 1
file content (35 lines) | stat: -rw-r--r-- 858 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
\name{replace.map}
\alias{replace.map}

\title{Replace the genetic map of a cross}

\description{
  Replace the map portion of a cross object.
}

\usage{replace.map(cross, map)}

\arguments{
 \item{cross}{An object of class \code{cross}.  See
   \code{\link[qtl]{read.cross}} for details.}
 \item{map}{A list containing the new genetic map.  This must be the
   same length and with the same marker names as that contained in
   \code{cross}. }
}

\value{The input \code{cross} object with the genetic map replaced by
  the input \code{map}.}

\author{Karl W Broman, \email{kbroman@biostat.wisc.edu} }

\examples{
data(fake.f2)
\dontshow{fake.f2 <- subset(fake.f2, chr=18:19)}
newmap <- est.map(fake.f2)
plot.map(fake.f2, newmap)
fake.f2 <- replace.map(fake.f2, newmap)
}

\seealso{ \code{\link[qtl]{pull.map}}, \code{\link[qtl]{est.map}} }

\keyword{manip}