Skip to content

Commit

Permalink
ret.postprob=FALSE
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengxwen committed Feb 1, 2024
1 parent d0c13f3 commit 94df3b8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: HIBAG
Type: Package
Title: HLA Genotype Imputation with Attribute Bagging
Version: 1.38.2
Date: 2024-01-19
Version: 1.38.3
Date: 2024-01-29
Depends: R (>= 3.2.0)
Imports: methods, RcppParallel
Suggests: parallel, ggplot2, reshape2, gdsfmt, SNPRelate, SeqArray, knitr,
Expand Down
4 changes: 3 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
CHANGES IN VERSION 1.38.2
CHANGES IN VERSION 1.38.3
-------------------------

o fix compiler warnings: -Wformat & -Wformat-security

o new 'use.matching=TRUE' in `hlaPredMerge()`; to set 'use.matching=FALSE'
for backward compatibility

o 'ret.postprob=FALSE' by default in `hlaPredMerge()`


CHANGES IN VERSION 1.38.1
-------------------------
Expand Down
4 changes: 2 additions & 2 deletions R/HIBAG.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# HIBAG -- HLA Genotype Imputation with Attribute Bagging
#
# HIBAG R package, HLA Genotype Imputation with Attribute Bagging
# Copyright (C) 2011-2022 Xiuwen Zheng (zhengx@u.washington.edu)
# Copyright (C) 2011-2024 Xiuwen Zheng (zhengx@u.washington.edu)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -823,7 +823,7 @@ hlaPredict <- function(object, snp, cl=FALSE,
#

hlaPredMerge <- function(..., weight=NULL, equivalence=NULL, use.matching=TRUE,
ret.dosage=TRUE, ret.postprob=TRUE, max.resolution="", rm.suffix=FALSE)
ret.dosage=TRUE, ret.postprob=FALSE, max.resolution="", rm.suffix=FALSE)
{
# check "..."
pdlist <- list(...)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ HIBAG is a state of the art software package for imputing HLA types using SNP da

## Bioconductor Package

Release Version: 1.38.0
Release Version: 1.38.3

[http://www.bioconductor.org/packages/HIBAG/](http://www.bioconductor.org/packages/HIBAG/)

Expand Down
2 changes: 1 addition & 1 deletion man/hlaPredMerge.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ HLA types.
}
\usage{
hlaPredMerge(..., weight=NULL, equivalence=NULL, use.matching=TRUE,
ret.dosage=TRUE, ret.postprob=TRUE, max.resolution="", rm.suffix=FALSE)
ret.dosage=TRUE, ret.postprob=FALSE, max.resolution="", rm.suffix=FALSE)
}
\arguments{
\item{...}{The object(s) of \code{\link{hlaAlleleClass}}, having a field
Expand Down

0 comments on commit 94df3b8

Please sign in to comment.