Hi,
i got en error while using aggregateFeatures command from MSqrob2.
pe <- aggregateFeatures(pe,i = "peptideNorm", fcol = "PG.ProteinGroups", na.rm = TRUE, name = "protein")
Error in contrasts<-(*tmp*, value = contr.funs[1 + isOF[nn]]) :
[: contrasts can be applied only to factors with 2 or more levels]
Could you point out how i should fix the error? I guess it is related to my input, but i don't know where to start.
Thanks for your help!
Yafeng
Hi,
i got en error while using aggregateFeatures command from MSqrob2.
pe <- aggregateFeatures(pe,i = "peptideNorm", fcol = "PG.ProteinGroups", na.rm = TRUE, name = "protein")Error in
contrasts<-(*tmp*, value = contr.funs[1 + isOF[nn]]) :[: contrasts can be applied only to factors with 2 or more levels]
Could you point out how i should fix the error? I guess it is related to my input, but i don't know where to start.
Thanks for your help!
Yafeng