Skip to content

Commit

Permalink
remove obsolete lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ATpoint committed Oct 30, 2024
1 parent 94ed702 commit 46c66e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions R/model_selection.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
#' rownames(x) <- paste0("gene_", 1:nrow(x))
#' time <- y$time[1:12]
#' condition <- rep(c("A", "B"), each = 6)
#' run_model_selection(x = x, condition = condition, time = time, add_arrhy = TRUE)
#' run_model_selection(x = x, condition = condition, time = time)
#' @export
run_model_selection <- function(x, condition, time, period = 24,
criterion = c("BIC", "AIC"),
sample_weights = NULL, add_arrhy = FALSE) {
sample_weights = NULL) {
# Checks
if (!ncol(x) == length(condition) | !ncol(x) == length(time)) {
stop("condition and time must have length as ncol(x)")
Expand Down
5 changes: 2 additions & 3 deletions man/run_model_selection.Rd

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

0 comments on commit 46c66e3

Please sign in to comment.