Skip to content
Snippets Groups Projects
Commit 0a7497bf authored by ermueller's avatar ermueller
Browse files

Fixed a minor bug

parent c01c736e
No related branches found
No related tags found
No related merge requests found
......@@ -444,7 +444,7 @@ toRMB <- function(msmsXCMSspecs = NA, cpdID = NA, mode="pH", MS1spec = NA){
"mergedResultStartScanNum", "mergedResultEndScanNum")
if (is.na(ret$parentHeader[1,"retentionTime"])) {
## Overwrite MS1 RT with average from MS2
ret$parentHeader[1,"retentionTime"] <- median(ret$childHeader[, "retentionTime"])
ret$parentHeader[1,"retentionTime"] <- median(ret$childHeader[which(ret$childHeader[,"retentionTime"] != 0), "retentionTime"])
}
ret$parentPeak <- matrix(nrow = 1, ncol = 2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment