Skip to content

Commit 1047979

Browse files
committed
enable vignette; set error=TRUE flag in vignette; version bump
1 parent 710a20b commit 1047979

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.Rbuildignore

-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@
1616
rawR.Rproj
1717
.*.exe$
1818
.*.dll$
19-
^.*vignettes/rawrr.Rmd

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: rawrr
22
Type: Package
33
Title: Direct Access to Orbitrap Data and Beyond
4-
Version: 1.1.1
4+
Version: 1.1.2
55
Authors@R: c(person("Christian", "Panse",
66
email = "[email protected]",
77
role = c("aut", "cre"),

vignettes/rawrr.Rmd

+4-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ urlcolor: blue
3131

3232
```{r style, echo = FALSE, results = 'asis'}
3333
BiocStyle::markdown()
34-
knitr::opts_chunk$set(fig.wide = TRUE, fig.retina = 3)
34+
knitr::opts_chunk$set(fig.wide = TRUE, fig.retina = 3, error=TRUE)
3535
```
3636

3737
```{r HexSticker, echo=FALSE, out.width="50%", eval=TRUE}
@@ -177,7 +177,9 @@ More sophisticated analysis workflows applying `rawrr` functionalities have also
177177
By applying linear regression, one can convert observed peptide retention times (RTs) into dimensionless scores termed iRT values and *vice versa* [@Escher2012]. This can be used for retention time calibration/prediction. In addition, fitted iRT regression models provide highly valuable information about LC-MS run performance. This example shows how easy it is to perform iRT regression in `R` by just using the raw measurement data, our package `rawrr`, and well known `base R` functions supporting linear modeling. To get a first impression of the data we calculate a total ion chromatogram (TIC) using the `readChromatogram()` function. Plotting the TIC shows chromatographic peaks between 15 and 28 min that could be of peptidic origin (see Figure 3). Of note, there is also a `type = "bpc"` option if you prefer a base peak chromatogram (BPC):
178178

179179
```{r TIC, fig.cap="Total ion chromatogram (TIC) calculated from all MS1-level scans contained in 20181113_010_autoQC01.raw."}
180-
plot(rawrr::readChromatogram(rawfile = rawfile, type = "tic"))
180+
message(rawfile)
181+
rawrr::readChromatogram(rawfile = rawfile, type = "tic") |>
182+
plot()
181183
```
182184

183185
```{r BPC, fig.cap="BPC", eval=FALSE, include=FALSE}

0 commit comments

Comments
 (0)