Skip to content

Commit

Permalink
Merge branch '198_clustering' of github.com:hechth/recetox-aplcms int…
Browse files Browse the repository at this point in the history
…o 198_clustering
  • Loading branch information
hechth committed May 3, 2023
2 parents 60021c0 + 6d6ed95 commit 0f0bae4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/r-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Create conda environment
uses: conda-incubator/setup-miniconda@v2
Expand Down
2 changes: 1 addition & 1 deletion R/compute_clusters.R
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ compute_clusters <- function(feature_tables,
#' First, the absolute tolerance is computed for each feature, then a new group is started
#' once the difference between consecutive features is above this threshold.
#' The same process is then repeated for the retention time dimension.
#' The individual indices and then combines into a single index in the `cluster` columns.
#' The individual indices are then combined into a single index in the `cluster` columns.
#' @param feature_tables list of tibbles List of feature tables coming from all samples.
#' @param sample_names list of strings Sample names of the feature tables used to distinguish the samples.
#' @param mz_tol_ppm float Relative tolerance for mz grouping in parts per million.
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-find.tol.time.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ test_that("compute_rt_tol_relative computes something", {
max.bins
)

expect_equal(actual, 1.04166666666667)
expect_equal(actual, 1.0416)
})

0 comments on commit 0f0bae4

Please sign in to comment.