Skip to content

Commit

Permalink
subtraction doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFollyLlama committed Jul 16, 2024
1 parent 2dfed6d commit 62e7bb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ FROM bioc_base
COPY MeDUSA MeDUSA
WORKDIR MeDUSA
RUN chown rstudio /home/rstudio/*.xml
RUN R -e 'devtools::document()'
RUN R -e 'devtools::test()'
RUN R -e 'devtools::install(dependencies="never")'
RUN R -e 'devtools::check()'

### TO BUILD
# docker build . -f Dockerfile -t lacdr/medusa
Expand Down
6 changes: 3 additions & 3 deletions MeDUSA/R/3_mz_subtraction.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
#'
#' To remove values from "samples" that are lower than "blanks" * "threshold"
#'
#' sample_mz <- MeDUSA::mztools_filter(input_mzObj,metadata,"blanks","type",F)
#' subtract_mz <- MeDUSA::mztools_filter(input_mzObj,metadata,"blanks","type",T)
#' sample_mz_obj <- MeDUSA::mztools_filter(input_mzObj,metadata,"blanks","type",F)
#' subtract_mz_obj <- MeDUSA::mztools_filter(input_mzObj,metadata,"blanks","type",T)
#'
#' mz_subtraction(input_mz_obj, samples_meta, blanks_meta, threshold = "5" )
#' mz_subtraction(sample_mz_obj, subtract_mz_obj, threshold = 5 )
#
#' @export
mz_subtraction <- function(sample_mz_obj, subtract_mz_obj , method = mean, threshold = 3) {
Expand Down

0 comments on commit 62e7bb8

Please sign in to comment.