jeffsocal / tidyproteomics

An S3 data object and framework for common quantitative proteomic analyses
https://jeffsocal.github.io/tidyproteomics/
MIT License
30 stars 4 forks source link

Duplicated rows in as.data.frame(shape ="wide") #10

Closed tywang-tw closed 10 months ago

tywang-tw commented 10 months ago

I noticed that the duplicated rows happened due to the MBR column, can you please fix and make it as one row? Perhaps include the argument to drop the unwanted columns? Thanks!

example: hela_proteins %>% as.data.frame(shape="wide") %>% filter(protein == 'A0A024R1R8')

jeffsocal commented 10 months ago

Nice catch. I fixed this issue with version 1.5.10.