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

add msrun to xic export

parent d3548444
No related branches found
No related tags found
1 merge request!33Multiples Corrections and features implementations
......@@ -337,6 +337,12 @@ XicBox::setPeptideEvidenceInMsRun(const PeptideEvidence *p_peptide_evidence,
ui->isotopic_distribution_spinbox->value());
}
MsRunSp
XicBox::getMsRunSp()
{
return _msrun_sp;
}
void
XicBox::setXic(std::vector<pappso::XicCstSPtr> xic_sp_list)
{
......
......@@ -69,6 +69,7 @@ class XicBox : public QWidget
void setPeptideEvidenceInMsRun(const PeptideEvidence *p_peptide_evidence,
MsRunSp msrun_sp);
std::vector<XicBoxNaturalIsotope> getNaturalIsotopList() const;
MsRunSp getMsRunSp();
signals:
void loadXic(MsRunSp p_msrun,
......
......@@ -103,7 +103,7 @@ XicAreaSheet::writeAreaPeackdata(XicBox *xic_box)
for(pappso::TracePeakCstSPtr trace : isotope.detected_peak_list)
{
mp_writer->writeLine();
mp_writer->writeCell("");
mp_writer->writeCell(xic_box->getMsRunSp()->getFileName());
mp_writer->writeCell(trace->getArea());
mp_writer->writeCell(trace->getLeftBoundary().x);
mp_writer->writeCell(trace->getMaxXicElement().x);
......@@ -122,7 +122,7 @@ XicAreaSheet::writeXicAllData(XicBox *xic_box)
for(std::size_t i = 0; i < isotope.xic_sp->xValues().size(); i++)
{
mp_writer->writeLine();
mp_writer->writeCell("");
mp_writer->writeCell(xic_box->getMsRunSp()->getFileName());
mp_writer->writeCell(
int(isotope.peptide_natural_isotope_sp->getIsotopeNumber()));
mp_writer->writeCell(isotope.xic_sp->xValues().at(i));
......
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="1em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 512 512"><path fill="#60bc03" d="M484.065 66.324l-71.534-41.759c-8.811-5.143-20.123-2.17-25.266 6.641L211.883 331.642L96.414 264.236c-7.143-4.17-16.314-1.76-20.484 5.384l-45.284 77.573c-4.17 7.143-1.76 16.314 5.384 20.484l205.968 120.235c7.143 4.17 16.314 1.76 20.484-5.384l1.669-2.86c.034-.056.074-.106.107-.163L490.706 91.59c5.143-8.811 2.17-20.123-6.641-25.266z"/><rect x="0" y="0" width="512" height="512" fill="rgba(0, 0, 0, 0)" /></svg>
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="1em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 512 512">
<path fill="#60bc03" d="M484.065 66.324l-71.534-41.759c-8.811-5.143-20.123-2.17-25.266 6.641L211.883 331.642L96.414 264.236c-7.143-4.17-16.314-1.76-20.484 5.384l-45.284 77.573c-4.17 7.143-1.76 16.314 5.384 20.484l205.968 120.235c7.143 4.17 16.314 1.76 20.484-5.384l1.669-2.86c.034-.056.074-.106.107-.163L490.706 91.59c5.143-8.811 2.17-20.123-6.641-25.266z"/>
<rect x="0" y="0" width="512" height="512" fill="rgba(0, 0, 0, 0)" />
</svg>
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