I want to use MSstats to analyze Maxquant results, I have some trouble using MaxQtoMSstatsFormat, the following is the error:
INFO [2022-04-08 14:14:32] ** Features with one or two measurements across runs are removed.
INFO [2022-04-08 14:14:32] ** Run annotation merged with quantification data.
INFO [2022-04-08 14:14:32] ** Multiple fractionations exist: 6 fractionations per MS replicate.
INFO [2022-04-08 14:14:42] ** Features with one or two measurements across runs are removed.
INFO [2022-04-08 14:14:42] ** Fractionation handled.
Error in setnames(x, value) :
Can't assign 4 names to a 0 column data.table
I looked at similar questions but still didn't solve the problem, here is my code:
proteinGroups <- data.table::fread("~/biodata/CNHPP_HCC/L006/combined/txt/proteinGroups.txt")
infile<-data.table::fread('~/biodata/CNHPP_HCC/L006/combined/txt/evidence.txt')
infile$Intensity <- as.numeric(infile$Intensity)
raw <- MaxQtoMSstatsFormat(evidence=infile, annotation=annot,proteinGroups=proteinGroups)
How can I fix this problem?
Thanks,
LeeLee