Skip to content
Snippets Groups Projects
Commit 350c1ad2 authored by Renne Thomas's avatar Renne Thomas
Browse files

Add PTM spectrum to ODS output

parent 39a4db31
No related branches found
No related tags found
1 merge request!25Correct Issue https://forgemia.inra.fr/pappso/xtpcpp/-/issues/28
......@@ -77,7 +77,7 @@ PtmIsland::countSampleScanMultiPtm(
}
return sample_scan_list.size();
}
unsigned int
std::size_t
PtmIsland::countSampleScanWithPtm(
const PtmGroupingExperiment *p_ptm_grouping_experiment) const
{
......
......@@ -72,7 +72,7 @@ class PtmIsland
std::size_t countSequence() const;
unsigned int countSampleScanMultiPtm(
const PtmGroupingExperiment *p_ptm_grouping_experiment) const;
unsigned int countSampleScanWithPtm(
std::size_t countSampleScanWithPtm(
const PtmGroupingExperiment *p_ptm_grouping_experiment) const;
unsigned int getStart() const;
unsigned int size() const;
......
......@@ -112,6 +112,7 @@ PtmIslandSheet::writeHeaders(IdentificationGroup *p_ident)
writeCellHeader(PtmIslandListColumn::ptm_position_list);
writeCellHeader(PtmIslandListColumn::spectrum);
writeCellHeader(PtmIslandListColumn::ptm_spectrum);
//_p_writer->setCellAnnotation("number of scans (spectra) attributed to this
// protein");
// _p_writer->writeCell("Spectra");
......@@ -217,6 +218,8 @@ PtmIslandSheet::writeOnePtmIsland(PtmIslandSp &sp_ptm_island)
// _p_writer->writeCell("Spectra");
_p_writer->writeCell(
sp_ptm_island.get()->getPtmIslandSubroup()->countSampleScan());
_p_writer->writeCell(sp_ptm_island.get()->countSampleScanWithPtm(
_p_ptm_grouping_experiment));
// _p_writer->writeCell("Uniques");
_p_writer->writeCell(sp_ptm_island.get()->countSequence());
_p_writer->writeCell(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment