1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
|
<HTML>
<HEAD>
<TITLE>KroenikFile Class Reference</TITLE>
<LINK HREF="doxygen.css" REL="stylesheet" TYPE="text/css">
<LINK HREF="style_ini.css" REL="stylesheet" TYPE="text/css">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<A href="index.html">Home</A> ·
<A href="classes.html">Classes</A> ·
<A href="annotated.html">Annotated Classes</A> ·
<A href="modules.html">Modules</A> ·
<A href="functions_func.html">Members</A> ·
<A href="namespaces.html">Namespaces</A> ·
<A href="pages.html">Related Pages</A>
<HR style="height:1px; border:none; border-top:1px solid #c0c0c0;">
<!-- Generated by Doxygen 1.8.5 -->
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceOpenMS.html">OpenMS</a></li><li class="navelem"><a class="el" href="classOpenMS_1_1KroenikFile.html">KroenikFile</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="classOpenMS_1_1KroenikFile-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">KroenikFile Class Reference<div class="ingroups"><a class="el" href="group__FileIO.html">File IO</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="classOpenMS_1_1File.html" title="Basic file handling operations. ">File</a> adapter for Kroenik (HardKloer sibling) files.
<a href="classOpenMS_1_1KroenikFile.html#details">More...</a></p>
<p><code>#include <<a class="el" href="KroenikFile_8h_source.html">OpenMS/FORMAT/KroenikFile.h</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aeee13c477b49a7de55b33172104036eb"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1KroenikFile.html#aeee13c477b49a7de55b33172104036eb">KroenikFile</a> ()</td></tr>
<tr class="memdesc:aeee13c477b49a7de55b33172104036eb"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#aeee13c477b49a7de55b33172104036eb">More...</a><br/></td></tr>
<tr class="separator:aeee13c477b49a7de55b33172104036eb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af798906e07af5236c12eee30d63068a9"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1KroenikFile.html#af798906e07af5236c12eee30d63068a9">~KroenikFile</a> ()</td></tr>
<tr class="memdesc:af798906e07af5236c12eee30d63068a9"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#af798906e07af5236c12eee30d63068a9">More...</a><br/></td></tr>
<tr class="separator:af798906e07af5236c12eee30d63068a9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa4e73ca60efa3ca29e203f46b5187c6c"><td class="memTemplParams" colspan="2">template<typename FeatureMapType > </td></tr>
<tr class="memitem:aa4e73ca60efa3ca29e203f46b5187c6c"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1KroenikFile.html#aa4e73ca60efa3ca29e203f46b5187c6c">load</a> (const <a class="el" href="classOpenMS_1_1String.html">String</a> &filename, FeatureMapType &feature_map)</td></tr>
<tr class="memdesc:aa4e73ca60efa3ca29e203f46b5187c6c"><td class="mdescLeft"> </td><td class="mdescRight">Loads a Kroenik file into a featureXML. <a href="#aa4e73ca60efa3ca29e203f46b5187c6c">More...</a><br/></td></tr>
<tr class="separator:aa4e73ca60efa3ca29e203f46b5187c6c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aad1400476baaa9e6ff74301f6395c5e8"><td class="memTemplParams" colspan="2">template<typename SpectrumType > </td></tr>
<tr class="memitem:aad1400476baaa9e6ff74301f6395c5e8"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1KroenikFile.html#aad1400476baaa9e6ff74301f6395c5e8">store</a> (const <a class="el" href="classOpenMS_1_1String.html">String</a> &filename, const SpectrumType &spectrum) const </td></tr>
<tr class="memdesc:aad1400476baaa9e6ff74301f6395c5e8"><td class="mdescLeft"> </td><td class="mdescRight">Stores a featureXML as a Kroenik file. <a href="#aad1400476baaa9e6ff74301f6395c5e8">More...</a><br/></td></tr>
<tr class="separator:aad1400476baaa9e6ff74301f6395c5e8"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classOpenMS_1_1File.html" title="Basic file handling operations. ">File</a> adapter for Kroenik (HardKloer sibling) files. </p>
<p>The first line is the header and contains the column names:<br/>
<a class="el" href="classOpenMS_1_1File.html" title="Basic file handling operations. ">File</a>, First Scan, Last Scan, Num of Scans, Charge, Monoisotopic Mass, Base Isotope Peak, Best Intensity, Summed Intensity, First RTime, Last RTime, Best RTime, Best Correlation, Modifications</p>
<p>Every subsequent line is a feature.</p>
<p>All properties in the file are converted to <a class="el" href="classOpenMS_1_1Feature.html" title="An LC-MS feature. ">Feature</a> properties, whereas "First Scan", "Last Scan", "Num of Scans" and "Modifications" are stored as metavalues with the following names "FirstScan", "LastScan", "NumOfScans" and "AveragineModifications".</p>
<p>The width in m/z of the overall convex hull of each feature is set to 3 Th in lack of a value provided by the Kroenik file.</p>
<dl class="section note"><dt>Note</dt><dd>Kroenik files are Tab (\t) separated files. </dd></dl>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="aeee13c477b49a7de55b33172104036eb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classOpenMS_1_1KroenikFile.html">KroenikFile</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Default constructor. </p>
</div>
</div>
<a class="anchor" id="af798906e07af5236c12eee30d63068a9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual ~<a class="el" href="classOpenMS_1_1KroenikFile.html">KroenikFile</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aa4e73ca60efa3ca29e203f46b5187c6c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void load </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classOpenMS_1_1String.html">String</a> & </td>
<td class="paramname"><em>filename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">FeatureMapType & </td>
<td class="paramname"><em>feature_map</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Loads a Kroenik file into a featureXML. </p>
<p>The content of the file is stored in <code>features</code>.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classOpenMS_1_1Exception_1_1FileNotFound.html" title="File not found exception. ">Exception::FileNotFound</a></td><td>is thrown if the file could not be opened </td></tr>
<tr><td class="paramname"><a class="el" href="classOpenMS_1_1Exception_1_1ParseError.html" title="Parse Error exception. ">Exception::ParseError</a></td><td>is thrown if an error occurs during parsing </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="classOpenMS_1_1ConvexHull2D.html#a2e47ab249f168435217f81800a63ea37">ConvexHull2D::addPoint()</a>, <a class="el" href="classOpenMS_1_1BaseFeature.html#ac80a487ac41c375532f8bff16871ae15">BaseFeature::getCharge()</a>, <a class="el" href="classOpenMS_1_1Peak2D.html#a6fefef82aae7a3208e71648e763d5ea4">Peak2D::getMZ()</a>, <a class="el" href="LogStream_8h.html#aeb4f36db01bd128c7afeac5889dac311">LOG_INFO</a>, <a class="el" href="namespaceOpenMS_1_1Constants.html#a7a25c5ed4c5f83b23ded7014aef42ad4">OpenMS::Constants::PROTON_MASS_U</a>, <a class="el" href="classOpenMS_1_1BaseFeature.html#ab595724fe9b9eb5d37011f07d90b9e0b">BaseFeature::setCharge()</a>, <a class="el" href="classOpenMS_1_1Feature.html#a8d65806c4f009695ab7bcf61eaf5546a">Feature::setConvexHulls()</a>, <a class="el" href="classOpenMS_1_1Peak2D.html#ab875c2479c6cd2a0189e4684bfa4f97d">Peak2D::setIntensity()</a>, <a class="el" href="classOpenMS_1_1MetaInfoInterface.html#a135a7e818125b31198a8a65d9ac7a3d1">MetaInfoInterface::setMetaValue()</a>, <a class="el" href="classOpenMS_1_1Peak2D.html#a2694f0775c46d9076355cb85d9815425">Peak2D::setMZ()</a>, <a class="el" href="classOpenMS_1_1Feature.html#aeba0cded976431f70fbea5499218ce18">Feature::setOverallQuality()</a>, <a class="el" href="classOpenMS_1_1Peak2D.html#a396c5ebcac2e70f9b9a478bb2456985b">Peak2D::setRT()</a>, <a class="el" href="classOpenMS_1_1DPosition.html#a7682888cd6f2b9f849548fb952307011">DPosition< D, TCoordinateType >::setX()</a>, <a class="el" href="classOpenMS_1_1DPosition.html#af9bb559c966c59f89d73b704d05592ad">DPosition< D, TCoordinateType >::setY()</a>, and <a class="el" href="classOpenMS_1_1String.html#ae580d960e12c7f0ebc5c95931cf39ad5">String::split()</a>.</p>
<p>Referenced by <a class="el" href="classOpenMS_1_1FileHandler.html#a5bc5a0452855c2d30d125261783b55cf">FileHandler::loadFeatures()</a>.</p>
</div>
</div>
<a class="anchor" id="aad1400476baaa9e6ff74301f6395c5e8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void store </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classOpenMS_1_1String.html">String</a> & </td>
<td class="paramname"><em>filename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const SpectrumType & </td>
<td class="paramname"><em>spectrum</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Stores a featureXML as a Kroenik file. </p>
<p>NOT IMPLEMENTED</p>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classOpenMS_1_1Exception_1_1UnableToCreateFile.html" title="Unable to create file exception. ">Exception::UnableToCreateFile</a></td><td>is thrown if the file could not be created </td></tr>
</table>
</dd>
</dl>
</div>
</div>
</div><!-- contents -->
<HR style="height:1px; border:none; border-top:1px solid #c0c0c0;">
<TABLE width="100%" border="0">
<TR>
<TD><font color="#c0c0c0">OpenMS / TOPP release 1.11.1</font></TD>
<TD align="right"><font color="#c0c0c0">Documentation generated on Thu Nov 14 2013 11:19:30 using doxygen 1.8.5</font></TD>
</TR>
</TABLE>
</BODY>
</HTML>
|