Closed Douerww closed 2 years ago
I will check this, however, linear is not the recommended summarization method. TMP should work just fine, could you please include also code and error that occurs with TMP?
ok, and the codes and errors like this:
Please let me know if installing these dev versions of MSstats packages:
devtools::install_github("Vitek-Lab/MSstatsConvert", ref = "hotfix-techreplicate")
devtools::install_github("Vitek-Lab/MSstats", ref = "hotfix-fractions-check")
fixes the issue.
Still an error, will it be related to my some packages without updating the latest version?
Error in MSstatsMergeFractions(input) : 找不到对象'match_runs'
It was a problem within our code, not dependencies. I need to double check the solution, will let you know if it works ASAP
ok, thanks!
It was actually a reporting problem. The correct behavior is that the function should stop before the summarization step, but we didn't catch/report the error correctly. Your dataset has technical replicates. Please add a TechReplicate column to indicate technical replicates. The problem should disappear. Before you proceed, please re-install MSstats from the branch that I suggested earlier, I'm about to push an update there.
After reinstalling the MSstats from the branch and adding the TechReplicate column (data from here), I still get the following error:
> DDA2009.proposed <- MSstats::dataProcess(raw = fileData,
+ normalization = 'equalizeMedians',
+ summaryMethod = 'TMP',
+ #summaryMethod = 'linear',
+ censoredInt = "NA",
+ MBimpute = TRUE)
INFO [2022-02-06 18:38:39] ** Multiple fractionations exist: 24 fractionations per MS replicate.
INFO [2022-02-06 18:39:52] ** Features with one or two measurements across runs are removed.
INFO [2022-02-06 18:39:52] ** Fractionation handled.
INFO [2022-02-06 18:39:52] ** Updated quantification data to make balanced design. Missing values are marked by NA
Error in MSstatsMergeFractions(input) :
*** error : can't figure out which multiple runs come from the same sample.
> # If run dataProcess() occuring an error message, please change "summaryMethod = 'TMP'" to "summaryMethod = 'linear'"
> DDA2009.proposed <- MSstats::dataProcess(raw = fileData,
+ normalization = 'equalizeMedians',
+ summaryMethod = 'linear',
+ censoredInt = "NA",
+ MBimpute = TRUE)
INFO [2022-02-06 23:16:04] ** Multiple fractionations exist: 24 fractionations per MS replicate.
INFO [2022-02-06 23:17:20] ** Features with one or two measurements across runs are removed.
INFO [2022-02-06 23:17:20] ** Fractionation handled.
INFO [2022-02-06 23:17:20] ** Updated quantification data to make balanced design. Missing values are marked by NA
Error in MSstatsMergeFractions(input) :
*** error : can't figure out which multiple runs come from the same sample.
hi, latest update to the hotfix-fractions-check branch should fix this problem, thanks for your patience and providing data for testing.
it works! thank you!
Hi, I have found a new problem in testing CSV files (LFQ and TMT types) that can run smoothly before reporting an error, as follows:
Warning: Error in [.data.table: column(s) not found: TECHREPLICATE
Should it be decided that the CSV contains a [Fraction] column so that it needs a [TechReplicate] column?
definitely not for TMT data, because we handle fractionation differently there, for LFQ only if there are actually technical replicates in the data. Can I see a full traceback() or example data snippet?
OK, that may not be necessary. Please re-install from hotfix-fractions-check branch again. TechReplicate should be optional again
it works, thanks!
data from here, codes as follow:
In DDA2009.comparisons[["ComparisonResult"]], all values with statistical significance except log2FC are null. I would like to know what could be causing this problem, any idea will help me, thanks!
PS: I used the summaryMethod = 'linear' parameter when calling dataProcess() because the choice of 'TMP' parameters will report an error, and this does not happen with other data using 'linear' parameter.