bartongroup / Proteus

R package for analysing proteomics data
MIT License
48 stars 3 forks source link

Setting different measure.cols for readProteinGroups #34

Closed cmysrobinso closed 4 years ago

cmysrobinso commented 4 years ago

Hi! I wanted to use the LFQ intensities when reading from the ProteinGroups file directly, so I set measure.cols <- paste("LFQ intensity", meta$sample) as it talks about in the manual, but I keep getting the error that the columns are not unique. If I leave measure.cols to the default or NULL it works. I checked that the column/sample names are unique and they are, so I can't figure out what the issue is. Any help would be much appreciated. Thank you!

MarekGierlinski commented 4 years ago

measure.cols has to be a named vector. Try adding names(measure.cols) <- meta$sample after paste.

cmysrobinso commented 4 years ago

Thank you very much!