Skip to content

Commit

Permalink
Ugh stupid mistake in that last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kbroman committed Mar 24, 2021
1 parent c1f7318 commit c4ef859
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/stepwiseqtl.R
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ stepwiseqtl <-
}
else {
nullformula <- as.formula(paste("y~", paste(names(covar), collapse="+")))
tempqtl <- makeqtl(cross, chrnames(f2)[1], 0, what=ifelse(method=="imp", "draws", "prob"))
tempqtl <- makeqtl(cross, chrnames(cross)[1], 0, what=ifelse(method=="imp", "draws", "prob"))
fit <- fitqtl(cross, pheno.col, tempqtl, covar=covar, formula=nullformula,
method=method, model=model, dropone=FALSE, get.ests=FALSE,
run.checks=FALSE, tol=tol, maxit=maxit, forceXcovar=forceXcovar)
Expand Down
2 changes: 1 addition & 1 deletion R/stepwiseqtlX.R
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ stepwiseqtlX <-
}
else {
nullformula <- as.formula(paste("y~", paste(names(covar), collapse="+")))
tempqtl <- makeqtl(cross, chrnames(f2)[1], 0, what=ifelse(method=="imp", "draws", "prob"))
tempqtl <- makeqtl(cross, chrnames(cross)[1], 0, what=ifelse(method=="imp", "draws", "prob"))
fit <- fitqtl(cross, pheno.col, tempqtl, covar=covar, formula=nullformula,
method=method, model=model, dropone=FALSE, get.ests=FALSE,
run.checks=FALSE, tol=tol, maxit=maxit, forceXcovar=forceXcovar)
Expand Down

0 comments on commit c4ef859

Please sign in to comment.