Closed Roman-Si closed 1 year ago
I installed MSstatsconverter and rerun it using the consensusXML and the openms_desing.tsv and produced the same output so I guess it is the default behavior of MSstatsconverter.
The MSstats functions are responsible for the removal of these features so I will close this issue.
Description of the bug
I run quantms v1.1.1 for a DDA LFQ experiment with the option "msstatslfq_removeFewMeasurements": false to keep features with 2 measurements but proteomicsLFQ removes them from the *_msstats_in.csv" file anyway. I want to keep features with 2 measurements since I have only 3 replicates per condition in this experiment.
The msstats.log (attached) says both that:
I tried to export the sdrf_openms_design_msstats_in_comparisons.csv into MSstats to ensure these features are not removed but noticed that proteomicsLFQ has already removed them. data <- read.csv("proteomicslfq/sdrf_openms_design_msstatsin.csv", header = TRUE, sep = ',') data <- data %>% filter(!grepl('CONTAMINANT', ProteinName)) data_msstats <- OpenMStoMSstatsFormat(data, useUniquePeptide = TRUE, removeFewMeasurements=FALSE, removeProtein_with1Feature = FALSE, summaryforMultipleRows = max, use_log_file = FALSE) data_msstats %>% group_by(PeptideSequence, PrecursorCharge) %>% summarise(RunCount = sum((Intensity))) %>% ungroup() %>% count(RunCount) %>% mutate(Frequency = n / sum(n)) RunCount n Frequency