Skip to content

Commit

Permalink
bugfix #1 tic
Browse files Browse the repository at this point in the history
  • Loading branch information
cpanse committed Oct 23, 2020
1 parent ceb6dad commit 7b97676
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/rawR.R
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,8 @@ readChromatogram <- function(rawfile,

if (type == 'tic'){
rv <- list(
tic = list(times=DF$rt,
intensities=DF$intensity.TIC))
times=DF$rt,
intensities=DF$intensity.TIC)
}else{
# expect bpc
rv <- list(times=DF$rt,
Expand Down
3 changes: 1 addition & 2 deletions vignettes/JPR_TechnicalNote.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,9 @@ names(iRT) <- c("LGGNEQVTR", "YILAGVENSK", "GTFIIDPGGVIR", "GTFIIDPAAVIR",
"LFLQFGAQGSPFLK")
C <- readChromatogram(rawfile, iRT, tol=10)
plot(C)
```

par(mfrow=c(2, 1), mar=c(4, 4, 1, 1))
plot(C)

```{r plotBasePeak}
plot(CC<-readChromatogram(rawfile, type='bpc'))
Expand Down

0 comments on commit 7b97676

Please sign in to comment.