Hi Mateusz,
I figured out that there was a mistake calling the input data. Its working now, but I found that the spectronaut default stat and MSStats group comparison output is matching. I guess there are different model fitting in the background, but still the group comparison output looks little strange! there is only one protein that passed the adjusted p value, whereas around 400 proteins passed the ordinary p value. when the checked the spectronaut output, there are many that passed the adjusted p! Could you please check the codes. this is a directDIA output between WT and mutant and both of them treated/untreaetd (4 conditions). I have attached the group comparison output. here are codes I used:
spectronaut_imported <- SpectronauttoMSstatsFormat(input,
annotation = NULL,
intensity = 'PeakArea',
filter_with_Qvalue = TRUE,
qvalue_cutoff = 0.01,
useUniquePeptide = TRUE,
fewMeasurements="remove",
removeProtein_with1Feature = FALSE,
summaryforMultipleRows=max,
use_log_file = FALSE)
spectronaut.proposed.normalized <- dataProcess(spectronaut_imported,
normalization = "equalizeMedians",
summaryMethod = "TMP",
censoredInt = "0",
MBimpute = FALSE,
maxQuantileforCensored=0.999,
use_log_file = FALSE)
comparison1<-matrix(c(-1,1,0,0),nrow=1)
comparison2<-matrix(c(0,0,-1,1),nrow=1)
comparison3<-rbind(comparison1,comparison2)
ELLU_proteome.comparisons1 <- groupComparison(contrast.matrix = comparison3,
data = spectronaut.proposed.normalized,
log_base = 2)
best,
Sudip