Skip to content

Commit

Permalink
export assess_2d() and remove glmnet suggest
Browse files Browse the repository at this point in the history
  • Loading branch information
lgessl committed Feb 19, 2024
1 parent ae66101 commit b3a4ca8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ Suggests:
testthat (>= 3.0.0),
withr (>= 2.5.2),
tibble (>= 3.0.0),
zeroSum (>= 2.0.6),
glmnet(>= 4.1.8)
zeroSum (>= 2.0.6)
Imports:
dplyr (>= 1.1.3),
readr (>= 2.1.4),
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export(DataSpec)
export(ModelSpec)
export(assess_0d)
export(assess_0d_center)
export(assess_2d)
export(assess_2d_center)
export(discretize_tbl_cols)
export(ensure_patients_match)
Expand Down
1 change: 1 addition & 0 deletions R/asssess_2d.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#' @details The AssSpec2d class is tailored for this function, so see its constructor
#' [`AssSpec2d()`] for details.
#' @param msg_prefix string. Prefix for messages. Default is `""`.
#' @export
assess_2d <- function(
expr_mat,
pheno_tbl,
Expand Down
2 changes: 1 addition & 1 deletion R/prepare_and_predict.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#' @param lambda string or numeric. The lambda regularization parameter of the model
#' to predict with. Technically, we will pass it to the `s` parameter of the `predict()`
#' method of the object returned by the `fitter` attribute of the `ModelSpec` object.
#' See, e.g., [glmnet::predict.cv.glmnet()] or [zeroSum::predict.zeroSum()].
#' See, e.g., [zeroSum::predict.zeroSum()].
#' @param pivot_time_cutoff numeric. Time-to-event threshold that divides samples into a
#' high/low-risk (time to event below/above `pivot_time_cutoff`) group. See return value
#' below.
Expand Down
2 changes: 1 addition & 1 deletion man/prepare_and_predict.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b3a4ca8

Please sign in to comment.