PNNL-Comp-Mass-Spec / TopPICR

R package for processing results from TopPIC, including resolving ambiguity in proteoform identification
GNU General Public License v3.0
4 stars 2 forks source link

remove spectralCount #5

Closed vladpetyuk closed 1 week ago

vladpetyuk commented 1 week ago

https://github.com/PNNL-Comp-Mass-Spec/TopPICR/blob/e77cf600fa276d3d8f4b4de6ed228989fe752fe9/R/create_metadata.R#L75

The spectralCount is used only for selecting representative proteoform for a feature cluster. Note the cluster may contain proteoforms annotated with shorter and longer sequences and different modification masses (due to the imperfections in the mass spectra interpretation). Thus the actual count the proteoform defined by the combination of gene and pcGroup (proteoform cluster) combination is actually higher.

spectralCount better be removed from the x_meta object to avoid downstream confusion.