-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
o Add bpi,OnDiskMsnExp method. Parameter initial allows to specify whether the original data from the mzML file is returned, or whether the values are calculated. o Modify tic,OnDiskMSnExp method to always return the initial TIC from the mzML's header, unless parameter initial = FALSE o Add unit tests for both methods. From: jotsetung <johannes.rainer@gmail.com> git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/MSnbase@124448 bc3139a8-67e5-0310-9ffc-ced21a209358
- Loading branch information
Laurent Gatto
committed
Nov 24, 2016
1 parent
25a325a
commit 9083669
Showing
6 changed files
with
107 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
library(MSnbase) | ||
library(msdata) | ||
f <- msdata::proteomics(full.names = TRUE, pattern = "TMT_Erwinia") | ||
f <- msdata::proteomics(full.names = TRUE) | ||
|
||
## readMSData | ||
for (i in 1:10000) { | ||
if (i %% 200 == 0) | ||
cat(i, "\n") | ||
res <- readMSData(f) | ||
sp <- spectra(res) | ||
res <- readMSData(f[1], verbose = FALSE, msLevel. = 1) | ||
res <- readMSData(f[1], verbose = FALSE, msLevel. = 2) | ||
sp <- res[[12]] | ||
sp <- spectra(res) | ||
} | ||
|
||
## readMSData2 | ||
for (i in 1:7500) { | ||
if (i %% 200 == 0) | ||
cat(i, "\n") | ||
res <- readMSData2(f, verbose = FALSE) | ||
sp <- spectra(res) | ||
sp <- res[[12]] | ||
res <- readMSData2(mzf, verbose = FALSE) | ||
res <- readMSData2(f[1], verbose = FALSE) | ||
sp <- res[[6]] | ||
res <- readMSData2(f[2], verbose = FALSE) | ||
sp <- spectra(res) | ||
sp <- res[[12]] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters