Skip to content
Snippets Groups Projects
Unverified Commit 1f95bc34 authored by Todor Kondic's avatar Todor Kondic
Browse files

refactoring: spectral table is the summary table

parent 87dd5d7a
No related branches found
No related tags found
No related merge requests found
...@@ -343,7 +343,7 @@ prescreen <- function(m) { ...@@ -343,7 +343,7 @@ prescreen <- function(m) {
##' @export ##' @export
sort_spectra <- function(m) { sort_spectra <- function(m) {
## Sorts the spectral table (summ) in order specified either in ## Sorts the summary table (summ) in order specified either in
## `order spectra` sublist of m$conf, or if that is null, the ## `order spectra` sublist of m$conf, or if that is null, the
## DEF_ORDER_SPECTRA. ## DEF_ORDER_SPECTRA.
order <- if (!is.null(m$conf[["order spectra"]])) m$conf[["order spectra"]] else DEF_ORDER_SPECTRA order <- if (!is.null(m$conf[["order spectra"]])) m$conf[["order spectra"]] else DEF_ORDER_SPECTRA
......
...@@ -185,5 +185,5 @@ QA_COLS <- c(QA_FLAGS,QA_NUM_REAL,QA_NUM_INT) ...@@ -185,5 +185,5 @@ QA_COLS <- c(QA_FLAGS,QA_NUM_REAL,QA_NUM_INT)
SPEC_DATA_COLS <- c("eicMS1") SPEC_DATA_COLS <- c("eicMS1")
## Default order of spectra in spectral table ## Default order of spectra in summary table
DEF_ORDER_SPECTRA <- c("set","qa_pass","ms1_int","adduct","mz","tag") DEF_ORDER_SPECTRA <- c("set","qa_pass","ms1_int","adduct","mz","tag")
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