Skip to content

Commit c374c22

Browse files
prepare for another CRAN submission
1 parent e24c758 commit c374c22

File tree

13 files changed

+100
-72
lines changed

13 files changed

+100
-72
lines changed

.Rhistory

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,3 @@
1-
alignTol = 0,
2-
halfWindowSize = 20)
3-
MALDIcellassay::getFittingParameters(res)
4-
calculatePeakStatistics(res@fits, res@singlePeaks)
5-
calculatePeakStatistics(res@fits, res@singlePeaks, spec = res@avgSpectra)
6-
calculatePeakStatistics(res@fits, res@avgPeaks, spec = res@avgSpectra)
7-
100*1e-6
8-
source("~/.active-rstudio-document", echo=TRUE)
9-
source("~/.active-rstudio-document", echo=TRUE)
10-
library(MALDIquant)
11-
spec <- suppressWarnings(
12-
smoothIntensity(spec,
13-
method = "SawitzkyGolay",
14-
halfWindowSize = 10)
15-
)
16-
spec <- suppressWarnings(
17-
smoothIntensity(spec,
18-
method = "SavitzkyGolay",
19-
halfWindowSize = 10)
20-
)
21-
spec <- suppressWarnings(
22-
removeBaseline(spec,
23-
method = "TopHat")
24-
)
25-
res <- fitCurve(spec = spec,
26-
unit = "nM",
27-
varFilterMethod = "none",
28-
normMz = 857.133,
29-
binTol = 100*1e-6,
30-
SinglePointRecal = TRUE,
31-
alignTol = 0,
32-
halfWindowSize = 20)
33-
source("~/.active-rstudio-document", echo=TRUE)
34-
getPeakStatistics(res)
35-
getPeakStatistics(res) %>%
36-
mutate(z = calculateZPrime(res))
37-
getPeakStatistics(res, TRUE) %>%
38-
mutate(z = calculateZPrime(res))
39-
stats <- getPeakStatistics(res, TRUE) %>%
40-
mutate(z = calculateZPrime(res),
41-
v = calculateVPrime(res))
42-
View(stats)
43-
res <- fitCurve(spec = spec,
44-
unit = "nM",
45-
varFilterMethod = "none",
46-
normMz = 857.133,
47-
binTol = 100*1e-6,
48-
SinglePointRecal = TRUE,
49-
alignTol = 0,
50-
halfWindowSize = 3)
51-
stats <- getPeakStatistics(res, TRUE) %>%
52-
mutate(z = calculateZPrime(res),
53-
v = calculateVPrime(res))
54-
View(stats)
551
plotCurves(res, 87, errorbars = "sd")
562
stats <- getPeakStatistics(res, TRUE) %>%
573
mutate(z = round(calculateZPrime(res),2),
@@ -510,3 +456,57 @@ source("~/R/MALDIcellassay/data-raw/Koch2024mzML.R", echo=TRUE)
510456
MALDIquantForeign::exportMzMl(spec, file = "inst/extdata/Koch2024mzML.mzML")
511457
source("~/R/MALDIcellassay/data-raw/Koch2024mzML.R", echo=TRUE)
512458
source("~/R/MALDIcellassay/data-raw/Koch2024mzML.R", echo=TRUE)
459+
devtools::document()
460+
devtools::document()
461+
devtools::run_examples()
462+
source("~/.active-rstudio-document", echo=TRUE)
463+
devtools::document()
464+
source("~/.active-rstudio-document", echo=TRUE)
465+
devtools::document()
466+
devtools::document()
467+
devtools::document()
468+
devtools::document()
469+
urlchecker::url_update()
470+
devtools::document()
471+
devtools::document()
472+
devtools::run_examples()
473+
usethis::use_data(Blank2022res, overwrite = TRUE, compress = "xz")
474+
rhub::rhub_check()
475+
devtools::document()
476+
usethis::use_version()
477+
devtools::check_win_devel()
478+
cran <- tools::CRAN_package_db()
479+
desc_with_doi <- grep("doi:", cran$Description, value = TRUE)
480+
desc_with_doi[[1]]
481+
View(cran)
482+
devtools::check_win_devel()
483+
usethis::use_release_issue()
484+
revdepcheck::revdep_check()
485+
checkhelper::find_missing_tags()
486+
install.packages("checkhelper")
487+
checkhelper::find_missing_tags()
488+
checkhelper::find_missing_tags()
489+
checkhelper::find_missing_tags()
490+
a<-checkhelper::find_missing_tags()
491+
View(a)
492+
View(a[["functions"]])
493+
checkhelper::check_clean_userspace()
494+
all_files_remaining <- checkhelper::check_clean_userspace()
495+
urlchecker::url_check()
496+
devtools::revdep()
497+
usethis::use_release_issue(version = "0.4.46")
498+
usethis::use_cran_comments()
499+
urlchecker::url_check()
500+
devtools::check(remote = TRUE, manual = TRUE)
501+
devtools::document()
502+
Sys.which("makeindex")
503+
tinytex::tlmgr_install("makeindex")
504+
tinytex::reinstall_tinytex(repository = "illinois")
505+
tinytex::tlmgr_install("makeindex")
506+
Sys.which("makeindex")
507+
Sys.which("makeindex")
508+
devtools::check(remote = TRUE, manual = TRUE)
509+
devtools::submit_cran()
510+
withr::with_options(list(repos = c(CRAN = "https://cloud.r-project.org/")),
511+
{callr::default_repos()
512+
rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran")) })

CRAN-SUBMISSION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Version: 0.4.45
2-
Date: 2024-08-17 12:09:14 UTC
3-
SHA: 65aeeebd03a46c08249d9aa50178bcd06dc10836
1+
Version: 0.4.46
2+
Date: 2024-08-19 16:46:10 UTC
3+
SHA: eef754436a6fe8ff9c160774bb88824a547cb4b4

R/example_data.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#' Blank2022spec
22
#' @description
3-
#' MALDI mass spectromety data of EOC cells treated with different concentrations of SAHA.
3+
#' MALDI mass spectrometry data of EOC cells treated with different concentrations of SAHA.
44
#' It is used to demonstrate the usage of \code{MALDIcellassay}.
55
#' @details
66
#' The concentrations include: 0, 0.04, 0.12, 0.37, 1.11, 3.33, 10 and 30 uM of SAHA at 4 replicates each.
@@ -12,7 +12,7 @@
1212

1313
#' Blank2022peaks
1414
#' @description
15-
#' Peaks from MALDI mass spectromety data of EOC cells treated with different concentrations of SAHA.
15+
#' Peaks from MALDI mass spectrometry data of EOC cells treated with different concentrations of SAHA.
1616
#' It is used to demonstrate the usage of \code{MALDIcellassay}.
1717
#' @details
1818
#' The concentrations include: 0, 0.04, 0.12, 0.37, 1.11, 3.33, 10 and 30 uM of SAHA at 4 replicates each.
@@ -26,7 +26,7 @@
2626

2727
#' Blank2022intmat
2828
#' @description
29-
#' Intensity matrix from MALDI mass spectromety data of EOC cells treated with different concentrations of SAHA.
29+
#' Intensity matrix from MALDI mass spectrometry data of EOC cells treated with different concentrations of SAHA.
3030
#' It is used to demonstrate the usage of \code{MALDIcellassay}.
3131
#' @details
3232
#' The concentrations include: 0, 0.04, 0.12, 0.37, 1.11, 3.33, 10 and 30 uM of SAHA at 4 replicates each.
@@ -40,7 +40,7 @@
4040

4141
#' Blank2022res
4242
#' @description
43-
#' Object of class MALDIcellassay from MALDI mass spectromety data of EOC cells treated with different concentrations of SAHA.
43+
#' Object of class MALDIcellassay from MALDI mass spectrometry data of EOC cells treated with different concentrations of SAHA.
4444
#' It is used to demonstrate the usage of \code{MALDIcellassay}.
4545
#' @details
4646
#' The concentrations include: 0, 0.04, 0.12, 0.37, 1.11, 3.33, 10 and 30 uM of SAHA at 4 replicates each.

R/fitCurve.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#' @param alignTol Numeric, tolerance for spectral alignment in Dalton.
1212
#' @param binTol Numeric, tolerance for binning of peaks.
1313
#' @param SNR Numeric, signal to noise ratio for peak detection.
14-
#' @param halfWindowSize Numeric, defines the size of the window for peak detection. See `MALDIquant::detectPeaks()`.
14+
#' @param halfWindowSize 2ction. See `MALDIquant::detectPeaks()`.
1515
#' @param allowNoMatches Logical, if normMz can not be found in a spectrum, proceed and exclude spectrum or stop
1616
#' @param normMeth Character, normalization method. Can either be "TIC", "PQM", "median" or "mz". If "mz" then the normMz is used. If none no normalization is done.
1717
#' @param SinglePointRecal Logical, perform single point recalibration to normMz

R/loadSpectra.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#' @param Dir Character, parent directory of spectra.
44
#' @param filter Character vector, filter out spectra which match the given vector.
55
#' @param nameSpectra Logical, if TRUE the spectra in the resulting list will be named according to the dirname.
6-
#' @param verbose Logical, print logs to the console.
6+
#' @param verbose Logical, print logs to the console.
77
#'
8-
#' @return List of MALDIquant::MassSpectra
8+
#' @return List of MALDIquant::MassSpectra
99
#' @export
1010
#'
1111
#' @importFrom svMisc progress

R/plotCurves.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#'
33
#' @param object object of class MALDIassay
44
#' @param mzIdx numeric, indicies of mz values to plot (see \code{getPeakStatistics()}). Note, fc_thresh and R2_thresh filters do not apply if mzIdx is set!
5-
#' @param errorbars character, add error bars to plot. Either standard error of the mean (`sem`) or standard deviation (`sd`) in regards to the measurment replicates or no errorbars (`none`).
5+
#' @param errorbars character, add error bars to plot. Either standard error of the mean (`sem`) or standard deviation (`sd`) in regards to the measurement replicates or no errorbars (`none`).
66
#'
77
#' @return
88
#' list of ggplot objects

cran-comments.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,32 @@
22

33
0 errors | 0 warnings | 1 note
44

5-
* This is a new release.
5+
>Please reduce the length of the title to less than 65 characters.
6+
>
7+
>If there are references describing the methods in your package, please add these in the description field of your DESCRIPTION file in the form
8+
>authors (year) <doi:...>
9+
>authors (year, ISBN:...)
10+
>or if those are not available: <https:...>
11+
>with no space after 'doi:', 'https:' and angle brackets for auto-linking. (If you want to add a title as well please put it in quotes: "Title")
12+
>
13+
>The Description field is intended to be a (one paragraph) description of what the package does and why it may be useful. Please add more details about the package functionality and implemented methods in your Description text.
14+
>
15+
>Please only write package and software names in single quotes.
16+
>-> Omit them around: un-targeted
17+
>
18+
>Please fix and resubmit.
19+
>
20+
>Best,
21+
>Benjamin Altmann
22+
23+
Dear CRAN-team
24+
I took care about the comments above.
25+
26+
- The new title is: "Automated MALDI Cell Assays Using Dose-Response Curve Fitting" (63 character).
27+
- DOI's have been added to the description field.
28+
- The description field was extended: "Conduct automated cell-based assays using Matrix-Assisted Laser Desorption/Ionization (MALDI) methods for high-throughput screening of signals responsive to treatments. The package efficiently identifies high variance signals and fits dose-response curves to them. Quality metrics such as Z', V', log2FC, and CRS are provided for evaluating the potential of signals as biomarkers. The methodologies were introduced by Weigt et al. (2018) <doi:10.1038/s41598-018-29677-z> and refined by Unger et al. (2021) <doi:10.1038/s41596-021-00624-z>."
29+
- Single quotes were removed from the title.
30+
31+
Best regards,
32+
Thomas Enzlein
33+

man/Blank2022intmat.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/Blank2022peaks.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/Blank2022res.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)