diff --git a/NEWS.md b/NEWS.md index c3b85c3..8931fbb 100755 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,8 @@ +# propr 5.1.5 +--------------------- +* Fixed bug in `updateCutoffs` related to the use of `custom_cutoffs` +* Fixed `runNormalization` to properly work when `theta_mod` is used + # propr 5.1.4 --------------------- * Added `results_to_matrix` function diff --git a/man/results_to_matrix.Rd b/man/results_to_matrix.Rd index 65eeb5c..af5637b 100644 --- a/man/results_to_matrix.Rd +++ b/man/results_to_matrix.Rd @@ -4,12 +4,14 @@ \alias{results_to_matrix} \title{Get Matrix from Results} \usage{ -results_to_matrix(results, what = "theta") +results_to_matrix(results, what = "theta", features = NULL) } \arguments{ \item{results}{A \code{data.frame} of results.} \item{what}{A character string. The column name of the results data frame to be converted into a matrix.} + +\item{features}{A vector of features. Default is NULL.} } \value{ A matrix. diff --git a/man/updateCutoffs.Rd b/man/updateCutoffs.Rd index 775d05e..2b512dc 100644 --- a/man/updateCutoffs.Rd +++ b/man/updateCutoffs.Rd @@ -10,7 +10,7 @@ updateCutoffs( object, number_of_cutoffs = 100, custom_cutoffs = NA, - tails = NA, + tails = "right", ncores = 1 ) @@ -18,7 +18,7 @@ updateCutoffs.propr( object, number_of_cutoffs = 100, custom_cutoffs = NA, - tails = NA, + tails = "right", ncores = 1 ) @@ -39,10 +39,10 @@ cutoffs will be evenly spaced across the data.} \item{custom_cutoffs}{A numeric vector. When provided, this vector is used as the set of cutoffs to test, and 'number_of_cutoffs' is ignored.} -\item{tails}{NA or 'right' or 'both'. 'right' is for one-sided on the right. 'both' for -symmetric two-sided test. If NA, use default value according to the property -`has_meaningful_negative_values`. This is only relevant for \code{propr} objects, as -\code{propd} objects are always one-sided and only have positive values.} +\item{tails}{'right' or 'both'. 'right' is for one-sided on the right. 'both' for +symmetric two-sided test. This is only relevant for \code{propr} objects, as +\code{propd} objects are always one-sided and only have positive values. Default +is 'right'.} \item{ncores}{An integer. The number of parallel cores to use.} }