makeProteinTable crashes with one condition
MarekGierlinski opened this issue · 1 comments
MarekGierlinski commented
When data with only one condition are processed makeProteinTable crashes with error:
Error in .rowNamesDF<-
(x, value = value) : invalid 'row.names’ length
MarekGierlinski commented
The problem was with the way peptides were counted. dplyr::full_join renamed npep into npep.x, npep.y, ... for multiple conditions, but left npep for one. Now I count peptides in a separate command using tapply.