Skip to content
Snippets Groups Projects
Commit e66e596f authored by Steffen Neumann's avatar Steffen Neumann
Browse files

Polish wording in show method

parent f464ca04
No related branches found
No related tags found
No related merge requests found
......@@ -258,9 +258,9 @@ setMethod("show", "msmsWorkspace",
PeakMat <- matrix(dummy1-dummy2,numspecs,numspecs)
tempids <- ids
cat("Peaks Missing:\n")
cat("Peaks without annotation:\n")
sapply(split(PeakMat, rep(1:nrow(PeakMat), each = ncol(PeakMat))), function(x){
cat(" -", tempids[1], "\t number of peaks subtracted:", x, "\n")
cat(" -", tempids[1], "\t number of peaks filtered:", x, "\n")
tempids <<- tempids[-1]
})
......@@ -309,9 +309,9 @@ setMethod("show", "msmsWorkspace",
PeakMat <- matrix(dummy4-dummy5,numspecs,numspecs)
tempids <- ids
cat("Peaks Missing in reanalyzed recalibrated peaks:\n")
cat("Peaks without annotation in reanalyzed recalibrated peaks:\n")
sapply(split(PeakMat, rep(1:nrow(PeakMat), each = ncol(PeakMat))), function(x){
cat(" -", tempids[1], "\t number of peaks subtracted:", x, "\n")
cat(" -", tempids[1], "\t number of peaks filtered:", x, "\n")
tempids <<- tempids[-1]
})
......
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