1 <!DOCTYPE HTML
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <title
>PsN
:: Documentation
:: create_extra_data_model
</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
="Pontus 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">Create_extra_data_model
<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
>
124 $ create_extra_data_model
<br
>
125 --model
='filename'<br
>
126 --extra_data
='extra_data_filename'<br
>
127 --header
='extra_data_header'<br
>
128 --new_model_name
='new_filename'
130 <h3
class="heading1">Description
</h3
>
131 <p
>The create_extra_data_model utility is a Perl script that creates
and adds the necessary code
for additional data
132 files
. This is useful when the number of columns exceeds
20 in your normal data set
. With this utility the number of rows per individual is restricted to one
. See the documentation
for <a href
="single_valued_columns_docs.php">single_valued_columns
</a
> on how to identify suitable columns
for the extra data set
. </p
>
133 <h3
class="heading1">Options
</h3
>
134 <p
><span
class="style2">-model
='filename'</span
></p
>
135 <p
>Specify the name of your original model file through the
<span
class="style2">-model
</span
> option
.</p
>
136 <p
><span
class="style2"> -extra_data
='extra_data_filename'</span
></p
>
137 <p
>The name of the file holding the additional data file should be specified through the
<span
class="style2">-extra_data
</span
> option
. </p
>
138 <p
><span
class="style2">-header
='extra_data_header'</span
></p
>
139 <p
>The utility needs to know the names of the columns in the additional data file
as they are used in the model
. Specify this through the
<span
class="style2">-header
</span
> option
. Note that no header row should be present in the extra data file itself
. </p
>
140 <p
><span
class="style2">-new_model_name
='new_filename'</span
></p
>
141 <p
>Specify the name of the
new model through the
<span
class="style2">-new_model_name
</span
> option
. </p
>
142 <h3
class="heading1">Output
</h3
>
143 <p
>The output from this utility is a
new model file including the verbatim code necessary
for reading additional data files
.</p
>
144 <h3
class="heading1">Example
</h3
>
145 <p
class="style2"> $ create_extra_data_model
--mod
=pheno
.mod
--extra
=cov
.dta
<br
>
146 --header
='ID,WGT,APGR' --new=pheno_extra
.mod
</p
>
150 <table border
="0" cellpadding
="0" cellspacing
="0" width
="780">
153 <td height
="600" width
="780">
154 <table border
="0" cellpadding
="0" cellspacing
="0" width
="780">
157 <td colspan
="7" height
="201" width
="780"><img
158 src
="images/indexpane1_1_.jpg" name
="" alt
="" border
="0" height
="201"
162 <td height
="46" width
="26"><img
163 src
="images/indexpane1_2_.jpg" name
="" alt
="" border
="0" height
="46"
165 <td height
="46" width
="73"><a href
="index.php"
166 onmouseover
="changeImages(/*CMP*/ 'object', /*URL*/ 'images/indexhomeov.jpg'); return true;"
167 onmouseout
="changeImages(/*CMP*/ 'object', /*URL*/ 'images/indexhome.jpg'); return true;"><img
168 src
="images/indexhome.jpg" name
="object" alt
="Home" border
="0"
169 height
="46" width
="73"></a
></td
>
170 <td height
="46" width
="11"><img
171 src
="images/indexpane3_2_.jpg" name
="" alt
="" border
="0" height
="46"
173 <td height
="46" width
="25"><img
174 src
="images/indexpane4_2_.jpg" name
="" alt
="" border
="0" height
="46"
176 <td height
="46" width
="15"><img
177 src
="images/indexpane5_2_.jpg" name
="" alt
="" border
="0" height
="46"
179 <td height
="46" width
="40"><img
180 src
="images/indexpane6_2_.jpg" name
="" alt
="" border
="0" height
="46"
182 <td height
="46" width
="590"><img
183 src
="images/indexpane7_2_.jpg" name
="" alt
="" border
="0" height
="46"
187 <td colspan
="7" height
="7" width
="780"><img
188 src
="images/indexpane1_3_.jpg" name
="" alt
="" border
="0" height
="7"
192 <td height
="46" width
="26"><img
193 src
="images/indexpane1_4_.jpg" name
="" alt
="" border
="0" height
="46"
195 <td colspan
="5" height
="46" width
="164"><a href
="docs.php"
196 onmouseover
="changeImages(/*CMP*/ 'object1', /*URL*/ 'images/indexdocumentationov.jpg'); return true;"
197 onmouseout
="changeImages(/*CMP*/ 'object1', /*URL*/ 'images/indexdocumentation.jpg'); return true;"><img
198 src
="images/indexdocumentation.jpg" name
="object1" alt
="Documentation"
199 border
="0" height
="46" width
="164"></a
></td
>
200 <td height
="46" width
="590"><img
201 src
="images/indexpane7_4_.jpg" name
="" alt
="" border
="0" height
="46"
205 <td colspan
="7" height
="7" width
="780"><img
206 src
="images/indexpane1_5_.jpg" name
="" alt
="" border
="0" height
="7"
210 <td height
="46" width
="26"><img
211 src
="images/indexpane1_6_.jpg" name
="" alt
="" border
="0" height
="46"
213 <td colspan
="3" height
="46" width
="109"><a
215 onmouseover
="changeImages(/*CMP*/ 'object2', /*URL*/ 'images/indexdownloadov.jpg'); return true;"
216 onmouseout
="changeImages(/*CMP*/ 'object2', /*URL*/ 'images/indexdownload.jpg'); return true;"><img
217 src
="images/indexdownload.jpg" name
="object2" alt
="Download" border
="0"
218 height
="46" width
="109"></a
></td
>
219 <td colspan
="3" height
="46" width
="645"><img
220 src
="images/indexpane5_6_.jpg" name
="" alt
="" border
="0" height
="46"
224 <td colspan
="7" height
="7" width
="780"><img
225 src
="images/indexpane1_7_.jpg" name
="" alt
="" border
="0" height
="7"
229 <td height
="46" width
="26"><img
230 src
="images/indexpane1_8_.jpg" name
="" alt
="" border
="0" height
="46"
232 <td colspan
="2" height
="46" width
="84"><a href
="buglist.php"
233 onmouseover
="changeImages(/*CMP*/ 'object3', /*URL*/ 'images/indexbuglistov.jpg'); return true;"
234 onmouseout
="changeImages(/*CMP*/ 'object3', /*URL*/ 'images/indexbuglist.jpg'); return true;"><img
235 src
="images/indexbuglist.jpg" name
="object3" alt
="Buglist" border
="0"
236 height
="46" width
="84"></a
></td
>
237 <td colspan
="4" height
="46" width
="670"><img
238 src
="images/indexpane4_8_.jpg" name
="" alt
="" border
="0" height
="46"
242 <td colspan
="7" height
="7" width
="780"><img
243 src
="images/indexpane1_9_.jpg" name
="" alt
="" border
="0" height
="7"
247 <td height
="46" width
="26"><img
248 src
="images/indexpane1_10_.jpg" name
="" alt
="" border
="0" height
="46"
250 <td colspan
="4" height
="46" width
="124"><a href
="list.php"
251 onmouseover
="changeImages(/*CMP*/ 'object4', /*URL*/ 'images/indexmailing_listov.jpg'); return true;"
252 onmouseout
="changeImages(/*CMP*/ 'object4', /*URL*/ 'images/indexmailing_list.jpg'); return true;"><img
253 src
="images/indexmailing_list.jpg" name
="object4" alt
="Mailing List"
254 border
="0" height
="46" width
="124"></a
></td
>
255 <td colspan
="2" height
="46" width
="630"><img
256 src
="images/indexpane6_10_.jpg" name
="" alt
="" border
="0" height
="46"
260 <td colspan
="7" height
="141" width
="780"><img
261 src
="images/indexpane1_11_.jpg" name
="" alt
="" border
="0" height
="141"
269 <td
><img src
="images/is_single_pixel_gif.gif" alt
="" height
="1"
274 <!--Adobe(R
) LiveMotion(TM
) DataMap1
.0
DO NOT EDIT