1 <!DOCTYPE HTML
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <title
>PsN
:: Documentation
:: single_valued_columns
</title
>
5 <!--Adobe(R
) LiveMotion(TM
) 1.0 Generated JavaScript
. Please
do not edit
. -->
10 function newImage(arg
) {
12 if (document
.images
) {
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');
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];
53 </script
><!-- End generated JavaScript
. -->
54 <meta http
-equiv
="Content-Type"
55 content
="text/html; charset=ISO-8859-1">
56 <style type
="text/css">
59 font
-family
: Helvetica
, Arial
, serif
;
68 background
-image
: url(gfx
/bg
.jpg
);
82 text
-decoration
: none
;
86 text
-decoration
: none
;
90 text
-decoration
: none
;
94 text
-decoration
: none
;
96 .style2
{font
-family
: "Courier New", Courier
, mono
}
99 <script language
="JavaScript" type
="text/JavaScript">
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();
109 <meta content
="Pntus Pihlgren" name
="author">
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
. -->
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
>
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']
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
>
148 <h3
class="heading1">Example
</h3
>
150 $ single_valued_columns
.pl
--data
=pheno
.dta
--idc
=1 --sub
=mysub
.dta
<br
>
151 --rem
=myrem
.dta
--do_not
='2,3'
153 <p align
="justify"> 
;</p
>
155 <table border
="0" cellpadding
="0" cellspacing
="0" width
="780">
158 <td height
="600" width
="780">
159 <table border
="0" cellpadding
="0" cellspacing
="0" width
="780">
162 <td colspan
="7" height
="201" width
="780"><img
163 src
="images/indexpane1_1_.jpg" name
="" alt
="" border
="0" height
="201"
167 <td height
="46" width
="26"><img
168 src
="images/indexpane1_2_.jpg" name
="" alt
="" border
="0" height
="46"
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"
178 <td height
="46" width
="25"><img
179 src
="images/indexpane4_2_.jpg" name
="" alt
="" border
="0" height
="46"
181 <td height
="46" width
="15"><img
182 src
="images/indexpane5_2_.jpg" name
="" alt
="" border
="0" height
="46"
184 <td height
="46" width
="40"><img
185 src
="images/indexpane6_2_.jpg" name
="" alt
="" border
="0" height
="46"
187 <td height
="46" width
="590"><img
188 src
="images/indexpane7_2_.jpg" name
="" alt
="" border
="0" height
="46"
192 <td colspan
="7" height
="7" width
="780"><img
193 src
="images/indexpane1_3_.jpg" name
="" alt
="" border
="0" height
="7"
197 <td height
="46" width
="26"><img
198 src
="images/indexpane1_4_.jpg" name
="" alt
="" border
="0" height
="46"
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"
210 <td colspan
="7" height
="7" width
="780"><img
211 src
="images/indexpane1_5_.jpg" name
="" alt
="" border
="0" height
="7"
215 <td height
="46" width
="26"><img
216 src
="images/indexpane1_6_.jpg" name
="" alt
="" border
="0" height
="46"
218 <td colspan
="3" height
="46" width
="109"><a
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"
229 <td colspan
="7" height
="7" width
="780"><img
230 src
="images/indexpane1_7_.jpg" name
="" alt
="" border
="0" height
="7"
234 <td height
="46" width
="26"><img
235 src
="images/indexpane1_8_.jpg" name
="" alt
="" border
="0" height
="46"
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"
247 <td colspan
="7" height
="7" width
="780"><img
248 src
="images/indexpane1_9_.jpg" name
="" alt
="" border
="0" height
="7"
252 <td height
="46" width
="26"><img
253 src
="images/indexpane1_10_.jpg" name
="" alt
="" border
="0" height
="46"
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"
265 <td colspan
="7" height
="141" width
="780"><img
266 src
="images/indexpane1_11_.jpg" name
="" alt
="" border
="0" height
="141"
274 <td
><img src
="images/is_single_pixel_gif.gif" alt
="" height
="1"
279 <!--Adobe(R
) LiveMotion(TM
) DataMap1
.0
DO NOT EDIT