Skip to content

Commit

Permalink
version 1.0-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles C. Berry authored and cran-robot committed Mar 9, 2001
1 parent 2c2069b commit 1cc0d8d
Show file tree
Hide file tree
Showing 41 changed files with 68 additions and 39 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
@@ -1,6 +1,6 @@
Package: bqtl
Version: 1.0
Date: 2001-02-28
Version: 1.0-1
Date: 2001-03-09
Title: Bayesian QTL mapping toolkit
Author: Charles C. Berry <cberry@ucsd.edu>
Maintainer: Charles C. Berry <cberry@ucsd.edu>
Expand Down
3 changes: 2 additions & 1 deletion R/make.map.frame.s
Expand Up @@ -105,7 +105,8 @@
locus<-paste("C",chr.num,as.numeric(format(100*mgd/morgan,digits=4)),
sep=".")
res <- data.frame(
marker.name=as.character(make.names(marker.names,TRUE)),
marker.name=
I(as.character(make.names(marker.names,TRUE))),
cM=as.numeric(mgd),
prior=as.numeric(prior),
pos.type=I(pos.type),
Expand Down
33 changes: 17 additions & 16 deletions man/a.starting.point.for.bqtl.Rd
@@ -1,5 +1,5 @@
\name{A Starting Point}

\alias{A Starting Point}
\title{Some Introductory Comments}
\description{Some pointers to a few key functions in \emph{BQTL}}

Expand All @@ -24,38 +24,39 @@
}
\section{Key Functions}{
\describe{
\item{Data Input}{ }

\item{Data Input}{ \ }
\describe{
\item{\code{make.map.frame}}{defines the map,}
\item{\code{\link{make.map.frame}}}{defines the map,}

\item{\code{marker.levels}}{defines the coding scheme for
\item{\code{\link{marker.levels}}}{The help page describes several
functions that define the coding scheme for
marker levels, }

\item{\code{make.analysis.obj}}{combines marker data, phenotype
\item{\code{\link{make.analysis.obj}}}{combines marker data, phenotype
data,and the \code{map.frame} to create an object that can be
used by data analysis functions.}

}

\item{Maximum Likelihood Methods}{ }
\item{Maximum Likelihood Methods}{ \ }

\describe{
\item{\code{bqtl}}{does a host of things from marker regression
\item{\code{\link{bqtl}}}{does a host of things from marker regression
and interval mapping to full maximum likelihood. The best way to
get started is to run \code{example(bqtl)} and take a look at
the resulting output.}

\item{\code{locus}}{ is very helpful in specification of runs.}
\item{\code{\link{locus}}}{ is very helpful in specification of runs.}
}

\item{Approximate Bayesian Analysis: }{
\item{Approximate Bayesian Analysis }{ \ }

Try \code{example(linear.bayes)}, then look at the help page for it.}
\describe{
\item{\code{\link{linear.bayes}}}{
For a good starting point try \code{example(linear.bayes)}}}
}
}

}
}
\author{Charles C. Berry \email{cberry@ucsd.edu}}


\keyword{Introduction }
\keyword{regression,models}
2 changes: 1 addition & 1 deletion man/adjust.linear.bayes.Rd
Expand Up @@ -36,4 +36,4 @@ adjust.linear.bayes(lbo, ana.obj=lbo$call$ana.obj, ...)
this can require a very long time to run.}
\author{Charles C. Berry \email{cberry@ucsd.edu} }
\seealso{\code{\link{linear.bayes}}}
\keyword{ bqtl }
\keyword{ regression }
2 changes: 1 addition & 1 deletion man/bqtl-internal.Rd
Expand Up @@ -20,4 +20,4 @@ unique.config(swap.obj)
\details{
These are not to be called by the user.
}
\keyword{bqtl}
\keyword{utilities}
4 changes: 3 additions & 1 deletion man/bqtl.Rd
Expand Up @@ -85,4 +85,6 @@ round( regr.coef.table[,"Value"] + # coefs inside 95\% CI

\testonly{ rm(five.gene,little.ana.bc,little.bqtl,max.loglik,
regr.coef.table,several.epi,several.main) }
}
}
\keyword{regression}

4 changes: 1 addition & 3 deletions man/coef.bqtl.Rd
Expand Up @@ -21,6 +21,4 @@ coef(bqtl.obj)

\author{Charles C. Berry \email{cberry@ucsd.edu} }
\seealso{\code{\link{bqtl}}}
\keyword{bqtl}


\keyword{methods}
1 change: 1 addition & 0 deletions man/configs.Rd
Expand Up @@ -92,3 +92,4 @@ map and the marker information,

}

\keyword{utilities, models}
1 change: 1 addition & 0 deletions man/covar.Rd
Expand Up @@ -55,3 +55,4 @@ covar(x,...,scope=<see below>, method=<see below>)
}


\keyword{models,regression}
2 changes: 1 addition & 1 deletion man/formula.bqtl.Rd
Expand Up @@ -18,4 +18,4 @@ formula.bqtl(object)

\author{Charles C. Berry \email{cberry@ucsd.edu} }
\seealso{\code{\link{bqtl}}}
\keyword{ bqtl }
\keyword{ methods }
2 changes: 1 addition & 1 deletion man/lapadj.Rd
Expand Up @@ -103,4 +103,4 @@ models. Thesis (Ph. D.)--University of California, San Diego,
Department of Mathematics.
}
\author{Charles C. Berry \email{cberry@ucsd.edu} }

\keyword{models,regression}
1 change: 1 addition & 0 deletions man/linear.bayes.Rd
Expand Up @@ -85,3 +85,4 @@ plot(fitted(little.lin), residuals(little.lin))
\testonly{rm(little.lin,little.ana.bc)}
}
\keyword{regression,models}
1 change: 1 addition & 0 deletions man/locus.Rd
Expand Up @@ -100,3 +100,4 @@ of a model formula(s).
map and the marker information.

}
\keyword{models,regression}
2 changes: 1 addition & 1 deletion man/loglik.Rd
Expand Up @@ -33,4 +33,4 @@ posterior(x)
}
\author{Charles C. Berry \email{cberry@ucsd.edu} }
\seealso{ \code{\link{bqtl}} }
\keyword{bqtl}
\keyword{models}
3 changes: 2 additions & 1 deletion man/make.analysis.obj.Rd
Expand Up @@ -127,4 +127,5 @@ little.ana.bc <- make.analysis.obj(little.bc.pheno$bc.phenotype,
summary( little.ana.bc )

\testonly{rm( little.ana.bc, little.bc.pheno, little.mf.5, little.bc.markers )}
}
}
\keyword{manip}
1 change: 1 addition & 0 deletions man/make.loc.right.Rd
Expand Up @@ -29,3 +29,4 @@ make.loc.right(marker.frame, marker.distances)

}

\keyword{manip}
1 change: 1 addition & 0 deletions man/make.location.prior.Rd
Expand Up @@ -26,3 +26,4 @@ make.location.prior( x, add.2.end=0, normalize=TRUE )



\keyword{utilities}
3 changes: 2 additions & 1 deletion man/make.map.frame.Rd
Expand Up @@ -25,7 +25,7 @@ morgan=100, nint=NULL, reso=NULL)
\code{"data.frame"} or a vector or a
data.frame with a column named \code{cM}, \code{M}, or \code{dx} or
whose first column gives location
on each chromosome in \code{100/morgan} centiMorgans (from start of
on each chromosome in centiMorgans (from start of
chromosome or Morgans if \code{M} was the column name). It is best
if \code{names(dx)} (for vector arguments)
or \code{row.names(dx)} (for data.frame arguments) give names of
Expand Down Expand Up @@ -87,3 +87,4 @@ plot( little.mf.5 ) # notice the 'virtual' markers added
\testonly{ rm( little.map.dx,little.map.frame ,little.mf.5) }
}
\keyword{manip}
1 change: 1 addition & 0 deletions man/make.marker.numeric.Rd
Expand Up @@ -25,3 +25,4 @@ make.marker.numeric(marker.frame, level.names=NULL)
}

\author{Charles C. Berry \email{cberry@ucsd.edu} }
\keyword{utilities}
1 change: 1 addition & 0 deletions man/make.regressor.matrix.Rd
Expand Up @@ -33,3 +33,4 @@ A state.matrix.object - see \code{\link{make.state.matrix}} for more details
\seealso{
\code{\link{make.state.matrix}}
}
\keyword{utilities}
1 change: 1 addition & 0 deletions man/make.state.matrix.Rd
Expand Up @@ -60,3 +60,4 @@ make.state.matrix(marker.frame, marker.distances, method="F2")
It might have been better to design this array so that the third
subscript moves fastest. In large problems, the current structure may
involve excessive memory access.}
\keyword{utilities}
1 change: 1 addition & 0 deletions man/make.varcov.Rd
Expand Up @@ -40,3 +40,4 @@ make.varcov(regressor.matrix, y, subset=is.finite(y), casewt=NULL)
ill-conditioning. Of course the rational for using the method is to
speed the sampling, and it is very effective at doing so.}

\keyword{utilities}
2 changes: 1 addition & 1 deletion man/map.index.Rd
Expand Up @@ -47,5 +47,5 @@ fit.on.1 <- bqtl(bc.phenotype~locus(index.chr.1),little.ana.bc)
summary( loglik( fit.on.1 ) )
}
\keyword{bqtl}
\keyword{methods}
8 changes: 4 additions & 4 deletions man/map.location.Rd
Expand Up @@ -20,7 +20,7 @@ map.loc(x)

\arguments{
\item{x}{A object of class \code{map.frame},\code{analysis.object},
\code{bqtl}, or \code{bqtl.list}
\code{bqtl}, or \code{bqtl.list}}
\item{\dots}{Other arguments usage depend on the class of \code{x} }
\item{y}{A vector of row numbers or \code{map.names} specifying which
subset of the \code{map.frame} of \code{x} is to be returned}
Expand All @@ -31,8 +31,8 @@ map.loc(x)
in \code{chromo} will be included.)

\item{map.names}{A vector of \code{map.names}}

} \details{ It is often helpful to refer to genentic loci by their
}
\details{ It is often helpful to refer to genentic loci by their
locations. The methods of \code{map.location} (alias \code{map.loc})
will extract the row index, chromosome number and location, and the name
for specified loci. For direct lookups of the loci in a \code{map.frame}
Expand Down Expand Up @@ -69,4 +69,4 @@ map.loc(little.ana.bc,chromo=3,cM=22)
map.loc(little.ana.bc,"m.12")
rm(little.ana.bc)
}
\keyword{bqtl}
\keyword{\keyword{bqtl}
1 change: 1 addition & 0 deletions man/marker.fill.Rd
Expand Up @@ -60,3 +60,4 @@ cbind(nint=little.nint,cM=little.map.frame$cM)[1:10,]
rm( little.map.frame, little.nint )
}
% Converted by Sd2Rd version 1.10.
\keyword{utilties}
1 change: 1 addition & 0 deletions man/marker.levels.Rd
Expand Up @@ -59,3 +59,4 @@ f2.levels(Aa="H")
bc1.levels(Aa="H")
}
\keyword{manip}
2 changes: 1 addition & 1 deletion man/plot.map.frame.Rd
Expand Up @@ -66,4 +66,4 @@ par(.old.par)
\testonly{ rm(null.llk, llk, little.ana.bc, .old.par ) }

}
\keyword{bqtl}
\keyword{hplot,methods }
1 change: 1 addition & 0 deletions man/predict.bqtl.Rd
Expand Up @@ -52,3 +52,4 @@ cbind( genotype.grid, fit.vals ) # print them!

}

\keyword{methods}
1 change: 1 addition & 0 deletions man/predict.linear.bayes.Rd
Expand Up @@ -40,3 +40,4 @@ hence which variable to use in ofrming residuals. So, in that case,
\seealso{ \code{\link{linear.bayes}}}
\keyword{methods}
3 changes: 2 additions & 1 deletion man/residuals.bqtl.Rd
Expand Up @@ -45,4 +45,5 @@ plot( fitted( fit.pheno ), residuals( fit.pheno) )

\testonly{rm(little.ana.bc,fit.pheno)}

}
}
\keyword{methods}
1 change: 1 addition & 0 deletions man/summary.adj.Rd
Expand Up @@ -40,3 +40,4 @@ A list with components
Section,} 164-169.
}
\author{Charles C. Berry \email{cberry@ucsd.edu} }
\keyword{methods}
1 change: 1 addition & 0 deletions man/summary.bqtl.Rd
Expand Up @@ -34,3 +34,4 @@ return.hess=TRUE )
summary(fit)
\testonly{rm(little.ana.bc,fit)}
}
\keyword{methods}
2 changes: 1 addition & 1 deletion man/summary.map.frame.Rd
Expand Up @@ -22,4 +22,4 @@ summary.analysis.object(x)
a list
}
\author{Charles C. Berry \email{cberry@ucsd.edu} }
\keyword{bqtl}
\keyword{methods}
1 change: 1 addition & 0 deletions man/summary.swap.Rd
Expand Up @@ -29,3 +29,4 @@ summary.swap(sc.obj, method=NULL, ncoef=length(sc.obj$alt.coef), nloc=sc.obj$nlo
}
\author{Charles C. Berry \email{cberry@ucsd.edu} }

\keyword{methods}
1 change: 1 addition & 0 deletions man/swap.Rd
Expand Up @@ -93,3 +93,4 @@ plot( little.ana.bc, little.4.smry$loc.posterior, type="h",
ylab="E(genes)" )
rm(little.4,little.vc,little.ana.bc)
}
\keyword{regression}
1 change: 1 addition & 0 deletions man/swapbc1.Rd
Expand Up @@ -81,3 +81,4 @@ cycle is repeated \code{nreps] times.
Section,} 164-169.
}
\author{Charles C. Berry \email{cberry@ucsd.edu} }
\keywords{utilities}
1 change: 1 addition & 0 deletions man/swapf2.Rd
Expand Up @@ -95,3 +95,4 @@ swapf2(varcov, invars, rparm, nreps, locs = <see below>>,
}
\author{Charles C. Berry \email{cberry@ucsd.edu} }

\keyword{utilities}
1 change: 1 addition & 0 deletions man/twohk.Rd
Expand Up @@ -78,3 +78,4 @@ little.pe <- 2 * little.2$loc.2 / sum(little.2$loc.2) #locus-wise posterior ex
plot(little.ana.bc,little.pe,type="h",ylab="E(genes")
rm(little.2,little.vc,little.pe,little.ana.bc)
}
\keyword{models}
1 change: 1 addition & 0 deletions man/twohkbc1.Rd
Expand Up @@ -70,3 +70,4 @@ combo.prior=<see below>)
quantitative trait loci in line crosses using flanking
markers. \emph{Heredity} \bold{69},315-324. }
\author{Charles C. Berry \email{cberry@ucsd.edu} }
\keyword{utilities}
1 change: 1 addition & 0 deletions man/update.bqtl.Rd
Expand Up @@ -47,3 +47,4 @@ image( 1:21, 44:64, little.res )
rm(little.ana.bc, little.update, little.res )
}

\keyword{models}
3 changes: 2 additions & 1 deletion man/varcov.Rd
Expand Up @@ -42,4 +42,5 @@ varcov(x, ana.obj, partial=NULL, scope=<see below>}
added to diagonal of \code{varcov()$var.x} and this reduces the
ill-conditioning. Of course the rational for using the method is to
speed the sampling, and it is very effective at doing so.}
\seealso{The examples in \code{\link{swap}} and \code{\link{twohk}}.}
\seealso{The examples in \code{\link{swap}} and \code{\link{twohk}}.}
\keyword{utilities}

0 comments on commit 1cc0d8d

Please sign in to comment.