moved nonpb.pm
[PsN.git] / html / single_valued_columns_docs.php
blob6c71c9f66ad38e6e0c1415d43bb7547e2fd370fc
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <title>PsN :: Documentation :: single_valued_columns</title>
5 <!--Adobe(R) LiveMotion(TM) 1.0 Generated JavaScript. Please do not edit. -->
6 <script>
8 <!--
10 function newImage(arg) {
12 if (document.images) {
14 rslt = new Image();
16 rslt.src = arg;
18 return rslt;
24 ImageArray = new Array;
26 var preloadFlag = false;
28 function preloadImages() {
30 if (document.images) {
32 ImageArray[ImageArray.length++] = newImage(/* OWNER('object', 'dflt') *//*URL*/'images/indexhome.jpg');
33 ImageArray[ImageArray.length++] = newImage(/* OWNER('object', 'movr') *//*URL*/'images/indexhomeov.jpg');
34 ImageArray[ImageArray.length++] = newImage(/* OWNER('object1', 'dflt') *//*URL*/'images/indexdocumentation.jpg');
35 ImageArray[ImageArray.length++] = newImage(/* OWNER('object1', 'movr') *//*URL*/'images/indexdocumentationov.jpg');
36 ImageArray[ImageArray.length++] = newImage(/* OWNER('object2', 'dflt') *//*URL*/'images/indexdownload.jpg');
37 ImageArray[ImageArray.length++] = newImage(/* OWNER('object2', 'movr') *//*URL*/'images/indexdownloadov.jpg');
38 ImageArray[ImageArray.length++] = newImage(/* OWNER('object3', 'dflt') *//*URL*/'images/indexbuglist.jpg');
39 ImageArray[ImageArray.length++] = newImage(/* OWNER('object3', 'movr') *//*URL*/'images/indexbuglistov.jpg');
40 ImageArray[ImageArray.length++] = newImage(/* OWNER('object4', 'dflt') *//*URL*/'images/indexmailing_list.jpg');
41 ImageArray[ImageArray.length++] = newImage(/* OWNER('object4', 'movr') *//*URL*/'images/indexmailing_listov.jpg');
42 preloadFlag = true;
45 function changeImages() {
46 if (document.images && (preloadFlag == true)) {
47 for (var i=0; i<changeImages.arguments.length; i+=2) {
48 document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
52 // -->
53 </script><!-- End generated JavaScript. -->
54 <meta http-equiv="Content-Type"
55 content="text/html; charset=ISO-8859-1">
56 <style type="text/css">
57 <!--
58 body,td,th {
59 font-family: Helvetica, Arial, serif;
60 font-size: 12px;
61 color: #000000;
63 body {
64 margin-left: 6px;
65 margin-top: 0px;
66 margin-right: 0px;
67 margin-bottom: 0px;
68 background-image: url(gfx/bg.jpg);
70 .style1 {
71 font-size: 36px;
72 font-weight: bold;
74 .heading1 {
75 font-size: 16px;
76 font-weight: bold;
77 color: #333399;
78 margin-left: 40px;
80 a:link {
81 color: #656D9C;
82 text-decoration: none;
84 a:visited {
85 color: #656D9C;
86 text-decoration: none;
88 a:hover {
89 color: #AF9D49;
90 text-decoration: none;
92 a:active {
93 color: #656D9C;
94 text-decoration: none;
96 .style2 {font-family: "Courier New", Courier, mono}
97 -->
98 </style>
99 <script language="JavaScript" type="text/JavaScript">
100 <!--
101 function MM_reloadPage(init) { //reloads the window if Nav4 resized
102 if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
103 document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
104 else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
106 MM_reloadPage(true);
107 //-->
108 </script>
109 <meta content="Pntus Pihlgren" name="author">
110 </head>
111 <body onload="preloadImages();"
112 style="background-color: rgb(255, 255, 255);">
113 <!-- The table is not formatted nicely because some browsers cannot join images in table cells if there are any hard carriage returns in a TD. -->
114 <div id="Layer1"
115 style="position: absolute; left: 335px; top: 42px; width: 388px; height: 43px; z-index: 1; font-size: x-small;">
116 <div class="style1" align="right">single_valued_columns<br>
117 </div>
118 </div>
119 <div id="Layer2"
120 style="position: absolute; left: 226px; top: 188px; width: 497px; height: 431px; z-index: 2;">
121 <div align="justify">
122 <h3 class="heading1">Synopsis</h3>
123 <p class="style2">$ single_valued_columns.pl <br>
124 --data='filename'<br>
125 --idcolumn='column_number'<br>
126 --subset_name='single_value_filename'<br>
127 --remainder_name='remaining_data_filename'<br>
128 [-do_not_test_columns='2,3,5..7']
129 </p>
130 <h3 class="heading1">Description</h3>
131 <p>The single_valued_columns utility is a Perl script for identification of columns in the data set that contain only one
132 value per individual, e.g. sex. The utility creates two new data files: one containing the
133 columns that are single valued and one containing the rest of the data. Both data sets will include the ID column. In the single valued data set the ID column number will be 1.</p>
134 <h3 class="heading1">Options</h3>
135 <p><span class="style2">--data='filename'</span></p>
136 <p>Specify the name of the original data set through the <span class="style2">-data</span> option.</p>
137 <p><span class="style2">--idcolumn='column_number'</span></p>
138 <p>The utility needs to know which column that contains the ID number. This is specified through the <span class="style2">-idcolumn</span> option. </p>
139 <p><span class="style2">--subset_name='single_value_filename'</span></p>
140 <p>Specify the name of the new single-value-per-individual data set through the <span class="style2">-subset_name</span> option. </p>
141 <p><span class="style2">--remainder_name='remaining_data_filename'</span></p>
142 <p>The part of the data that is not single valued per individual will be written to the file specified by the <span class="style2">-remainder_name</span> option. </p>
143 <p><span class="style2"> [-do_not_test_columns='2,3,5..7']</span></p>
144 <p>If you need to keep some columns in the remaining data set, the numbers of these columns should be specified through the <span class="style2">-do_not_test_columns</span> option. </p>
145 <h3 class="heading1">Output</h3>
146 <p>The single_valued_columns utility creates two new data files: one containing the columns that are single valued and one containing the rest of the data.</p>
147 </div>
148 <h3 class="heading1">Example</h3>
149 <p class="style2">
150 $ single_valued_columns.pl --data=pheno.dta --idc=1 --sub=mysub.dta<br>
151 --rem=myrem.dta --do_not='2,3'
152 </p>
153 <p align="justify">&nbsp;</p>
154 </div>
155 <table border="0" cellpadding="0" cellspacing="0" width="780">
156 <tbody>
157 <tr>
158 <td height="600" width="780">
159 <table border="0" cellpadding="0" cellspacing="0" width="780">
160 <tbody>
161 <tr>
162 <td colspan="7" height="201" width="780"><img
163 src="images/indexpane1_1_.jpg" name="" alt="" border="0" height="201"
164 width="780"></td>
165 </tr>
166 <tr>
167 <td height="46" width="26"><img
168 src="images/indexpane1_2_.jpg" name="" alt="" border="0" height="46"
169 width="26"></td>
170 <td height="46" width="73"><a href="index.php"
171 onmouseover="changeImages(/*CMP*/ 'object', /*URL*/ 'images/indexhomeov.jpg'); return true;"
172 onmouseout="changeImages(/*CMP*/ 'object', /*URL*/ 'images/indexhome.jpg'); return true;"><img
173 src="images/indexhome.jpg" name="object" alt="Home" border="0"
174 height="46" width="73"></a></td>
175 <td height="46" width="11"><img
176 src="images/indexpane3_2_.jpg" name="" alt="" border="0" height="46"
177 width="11"></td>
178 <td height="46" width="25"><img
179 src="images/indexpane4_2_.jpg" name="" alt="" border="0" height="46"
180 width="25"></td>
181 <td height="46" width="15"><img
182 src="images/indexpane5_2_.jpg" name="" alt="" border="0" height="46"
183 width="15"></td>
184 <td height="46" width="40"><img
185 src="images/indexpane6_2_.jpg" name="" alt="" border="0" height="46"
186 width="40"></td>
187 <td height="46" width="590"><img
188 src="images/indexpane7_2_.jpg" name="" alt="" border="0" height="46"
189 width="590"></td>
190 </tr>
191 <tr>
192 <td colspan="7" height="7" width="780"><img
193 src="images/indexpane1_3_.jpg" name="" alt="" border="0" height="7"
194 width="780"></td>
195 </tr>
196 <tr>
197 <td height="46" width="26"><img
198 src="images/indexpane1_4_.jpg" name="" alt="" border="0" height="46"
199 width="26"></td>
200 <td colspan="5" height="46" width="164"><a href="docs.php"
201 onmouseover="changeImages(/*CMP*/ 'object1', /*URL*/ 'images/indexdocumentationov.jpg'); return true;"
202 onmouseout="changeImages(/*CMP*/ 'object1', /*URL*/ 'images/indexdocumentation.jpg'); return true;"><img
203 src="images/indexdocumentation.jpg" name="object1" alt="Documentation"
204 border="0" height="46" width="164"></a></td>
205 <td height="46" width="590"><img
206 src="images/indexpane7_4_.jpg" name="" alt="" border="0" height="46"
207 width="590"></td>
208 </tr>
209 <tr>
210 <td colspan="7" height="7" width="780"><img
211 src="images/indexpane1_5_.jpg" name="" alt="" border="0" height="7"
212 width="780"></td>
213 </tr>
214 <tr>
215 <td height="46" width="26"><img
216 src="images/indexpane1_6_.jpg" name="" alt="" border="0" height="46"
217 width="26"></td>
218 <td colspan="3" height="46" width="109"><a
219 href="download.php"
220 onmouseover="changeImages(/*CMP*/ 'object2', /*URL*/ 'images/indexdownloadov.jpg'); return true;"
221 onmouseout="changeImages(/*CMP*/ 'object2', /*URL*/ 'images/indexdownload.jpg'); return true;"><img
222 src="images/indexdownload.jpg" name="object2" alt="Download" border="0"
223 height="46" width="109"></a></td>
224 <td colspan="3" height="46" width="645"><img
225 src="images/indexpane5_6_.jpg" name="" alt="" border="0" height="46"
226 width="645"></td>
227 </tr>
228 <tr>
229 <td colspan="7" height="7" width="780"><img
230 src="images/indexpane1_7_.jpg" name="" alt="" border="0" height="7"
231 width="780"></td>
232 </tr>
233 <tr>
234 <td height="46" width="26"><img
235 src="images/indexpane1_8_.jpg" name="" alt="" border="0" height="46"
236 width="26"></td>
237 <td colspan="2" height="46" width="84"><a href="buglist.php"
238 onmouseover="changeImages(/*CMP*/ 'object3', /*URL*/ 'images/indexbuglistov.jpg'); return true;"
239 onmouseout="changeImages(/*CMP*/ 'object3', /*URL*/ 'images/indexbuglist.jpg'); return true;"><img
240 src="images/indexbuglist.jpg" name="object3" alt="Buglist" border="0"
241 height="46" width="84"></a></td>
242 <td colspan="4" height="46" width="670"><img
243 src="images/indexpane4_8_.jpg" name="" alt="" border="0" height="46"
244 width="670"></td>
245 </tr>
246 <tr>
247 <td colspan="7" height="7" width="780"><img
248 src="images/indexpane1_9_.jpg" name="" alt="" border="0" height="7"
249 width="780"></td>
250 </tr>
251 <tr>
252 <td height="46" width="26"><img
253 src="images/indexpane1_10_.jpg" name="" alt="" border="0" height="46"
254 width="26"></td>
255 <td colspan="4" height="46" width="124"><a href="list.php"
256 onmouseover="changeImages(/*CMP*/ 'object4', /*URL*/ 'images/indexmailing_listov.jpg'); return true;"
257 onmouseout="changeImages(/*CMP*/ 'object4', /*URL*/ 'images/indexmailing_list.jpg'); return true;"><img
258 src="images/indexmailing_list.jpg" name="object4" alt="Mailing List"
259 border="0" height="46" width="124"></a></td>
260 <td colspan="2" height="46" width="630"><img
261 src="images/indexpane6_10_.jpg" name="" alt="" border="0" height="46"
262 width="630"></td>
263 </tr>
264 <tr>
265 <td colspan="7" height="141" width="780"><img
266 src="images/indexpane1_11_.jpg" name="" alt="" border="0" height="141"
267 width="780"></td>
268 </tr>
269 </tbody>
270 </table>
271 </td>
272 </tr>
273 <tr>
274 <td><img src="images/is_single_pixel_gif.gif" alt="" height="1"
275 width="780"></td>
276 </tr>
277 </tbody>
278 </table>
279 <!--Adobe(R) LiveMotion(TM) DataMap1.0 DO NOT EDIT
280 end DataMap -->
281 </body>
282 </html>