Skip to content

Commit

Permalink
Merge branch 'random_forest_imputation' of https://github.com/jpquast…
Browse files Browse the repository at this point in the history
…/protti into random_forest_imputation
  • Loading branch information
elena-krismer committed Oct 14, 2024
2 parents 122f73a + 0616d45 commit 989fe45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion R/impute_randomforest.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#' ```
#' To leverage parallelization during the imputation, pass `parallelize = "variables"`
#' as an argument to the `missForest` function.
#`
# `
#'
#' Stekhoven, D.J., & Bühlmann, P. (2012). MissForest—non-parametric missing value imputation
#' for mixed-type data. Bioinformatics, 28(1), 112-118. https://doi.org/10.1093/bioinformatics/btr597
Expand Down
10 changes: 5 additions & 5 deletions tests/testthat/test-auxiliary_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ if (Sys.getenv("TEST_PROTTI") == "true") {
test_that("deprecated peptide_type works", {
rlang::with_options(lifecycle_verbosity = "warning", {
expect_warning(assigned_types <- data %>%
find_peptide(
protein_sequence = protein_sequence,
peptide_sequence = peptide
) %>%
peptide_type(aa_before = aa_before, last_aa = last_aa))
find_peptide(
protein_sequence = protein_sequence,
peptide_sequence = peptide
) %>%
peptide_type(aa_before = aa_before, last_aa = last_aa))
})
expect_is(assigned_types, "data.frame")
expect_equal(nrow(assigned_types), 3)
Expand Down

0 comments on commit 989fe45

Please sign in to comment.