We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30d1676 commit 4fe6e24Copy full SHA for 4fe6e24
inst/unitTests/test_header.R
@@ -11,5 +11,15 @@ test_header_all <- function() {
11
header_pwiz <- header(mzxml)
12
close(mzxml)
13
14
- checkEquals(colnames(header_cdf), colnames(header_pwiz))
+ neededCdfHeaders <- c("seqNum", "acquisitionNum", "msLevel", "polarity", "peaksCount",
15
+ "totIonCurrent", "retentionTime", "basePeakMZ", "basePeakIntensity",
16
+ "collisionEnergy", "ionisationEnergy", "lowMZ", "highMZ", "precursorScanNum",
17
+ "precursorMZ", "precursorCharge", "precursorIntensity", "mergedScan",
18
+ "mergedResultScanNum", "mergedResultStartScanNum", "mergedResultEndScanNum",
19
+ "injectionTime", "filterString", "spectrumId", "centroided",
20
+ "ionMobilityDriftTime", "isolationWindowTargetMZ", "isolationWindowLowerOffset",
21
+ "isolationWindowUpperOffset", "scanWindowLowerLimit", "scanWindowUpperLimit" )
22
+
23
+ checkTrue( all(neededCdfHeaders %in% colnames(header_cdf)) )
24
+ checkTrue( all(neededCdfHeaders %in% colnames(header_pwiz)) )
25
}
0 commit comments