69 |
11 Feb 06 |
jari |
$Id$ |
69 |
11 Feb 06 |
jari |
2 |
|
317 |
28 May 07 |
peter |
3 |
---------------------------------------------------------------------- |
317 |
28 May 07 |
peter |
4 |
{{{ |
95 |
05 Apr 06 |
jari |
Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson |
317 |
28 May 07 |
peter |
Copyright (C) 2007 Peter Johansson |
665 |
16 Apr 08 |
jari |
Copyright (C) 2008 Jari Häkkinen |
95 |
05 Apr 06 |
jari |
8 |
|
95 |
05 Apr 06 |
jari |
This file is part of WeNNI, |
825 |
26 Nov 08 |
jari |
http://baseplugins.thep.lu.se/wiki/se.lu.thep.WeNNI |
95 |
05 Apr 06 |
jari |
11 |
|
95 |
05 Apr 06 |
jari |
WeNNI is free software; you can redistribute it and/or modify it under |
95 |
05 Apr 06 |
jari |
the terms of the GNU General Public License as published by the Free |
824 |
26 Nov 08 |
jari |
Software Foundation; either version 3 of the License, or (at your |
95 |
05 Apr 06 |
jari |
option) any later version. |
95 |
05 Apr 06 |
jari |
16 |
|
95 |
05 Apr 06 |
jari |
WeNNI is distributed in the hope that it will be useful, but WITHOUT |
95 |
05 Apr 06 |
jari |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
95 |
05 Apr 06 |
jari |
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
95 |
05 Apr 06 |
jari |
for more details. |
95 |
05 Apr 06 |
jari |
21 |
|
95 |
05 Apr 06 |
jari |
You should have received a copy of the GNU General Public License |
824 |
26 Nov 08 |
jari |
along with WeNNI. If not, see <http://www.gnu.org/licenses/>. |
317 |
28 May 07 |
peter |
24 |
}}} |
317 |
28 May 07 |
peter |
25 |
---------------------------------------------------------------------- |
95 |
05 Apr 06 |
jari |
26 |
|
95 |
05 Apr 06 |
jari |
27 |
|
824 |
26 Nov 08 |
jari |
= License = |
824 |
26 Nov 08 |
jari |
29 |
|
824 |
26 Nov 08 |
jari |
WeNNI is free software released under therms of GPL3. See `COPYING` |
824 |
26 Nov 08 |
jari |
for the GPL3 license text. |
824 |
26 Nov 08 |
jari |
32 |
|
824 |
26 Nov 08 |
jari |
33 |
|
824 |
26 Nov 08 |
jari |
= Feedback = |
824 |
26 Nov 08 |
jari |
35 |
|
69 |
11 Feb 06 |
jari |
Send comments, suggestion, complaints, or questions about this |
69 |
11 Feb 06 |
jari |
document to jari@thep.lu.se |
69 |
11 Feb 06 |
jari |
38 |
|
69 |
11 Feb 06 |
jari |
39 |
|
824 |
26 Nov 08 |
jari |
= How to cite WeNNI = |
824 |
26 Nov 08 |
jari |
41 |
|
115 |
22 Jun 06 |
jari |
Please use the below reference if you use WeNNI in connection with |
115 |
22 Jun 06 |
jari |
scientific publications: |
115 |
22 Jun 06 |
jari |
44 |
|
115 |
22 Jun 06 |
jari |
"Improving missing value imputation of microarray data by using spot |
115 |
22 Jun 06 |
jari |
quality weights", P. Johansson and J. Häkkinen. BMC Bioinformatics 7, |
115 |
22 Jun 06 |
jari |
306 (2006) |
115 |
22 Jun 06 |
jari |
48 |
|
115 |
22 Jun 06 |
jari |
49 |
|
824 |
26 Nov 08 |
jari |
= Installation = |
824 |
26 Nov 08 |
jari |
51 |
|
828 |
27 Nov 08 |
jari |
For installation and compilation instructions please read `INSTALL`. |
69 |
11 Feb 06 |
jari |
53 |
|
69 |
11 Feb 06 |
jari |
54 |
|
824 |
26 Nov 08 |
jari |
= Comments on WeNNI = |
115 |
22 Jun 06 |
jari |
56 |
|
828 |
27 Nov 08 |
jari |
1. WeNNI is presented in the article referenced above. |
115 |
22 Jun 06 |
jari |
58 |
|
828 |
27 Nov 08 |
jari |
2. The notion of weights becomes obsolete after running WeNNI, i.e., |
828 |
27 Nov 08 |
jari |
do not use the weight fed into WeNNI in any subsequent analysis |
828 |
27 Nov 08 |
jari |
because all weights are now strictly 1. |
115 |
22 Jun 06 |
jari |
62 |
|
828 |
27 Nov 08 |
jari |
3. Running WeNNI as a BASE plug-in makes WeNNI destined to impute log |
828 |
27 Nov 08 |
jari |
ratios of channel 1 and channel 2 (M values in BASE world). A |
828 |
27 Nov 08 |
jari |
consequence of imputing log ratios is that a change in ratio |
828 |
27 Nov 08 |
jari |
cannot be assigned to a specific channel. This implies that |
828 |
27 Nov 08 |
jari |
log(channel1*channel2) (A values in BASE world) become undefined |
828 |
27 Nov 08 |
jari |
and useless. However, on request from BASE users it was decided |
828 |
27 Nov 08 |
jari |
that A values should not be affected by the transformation in |
828 |
27 Nov 08 |
jari |
cases where the A value is well defined before imputation. In |
828 |
27 Nov 08 |
jari |
cases when an A value do not exist before transformation |
828 |
27 Nov 08 |
jari |
(i.e. channel1<=0 or channel2<=0) it was decided that A should be |
828 |
27 Nov 08 |
jari |
set to 0. NOTE, this does not change the underlying WeNNI |
828 |
27 Nov 08 |
jari |
algorithm in any way but is rather conventions needed for BASE |
828 |
27 Nov 08 |
jari |
plug-in usage. |
115 |
22 Jun 06 |
jari |
76 |
|
828 |
27 Nov 08 |
jari |
4. Remember, if you installed the software as a BASE plug-in, please |
828 |
27 Nov 08 |
jari |
log on to the server and make the server aware of the plug-in. The |
828 |
27 Nov 08 |
jari |
BASE1 plug-in definition file can be found in directory |
828 |
27 Nov 08 |
jari |
`base/base1/base_plugin_script` as file `plugin_WeNNI.base`. BASE2 |
828 |
27 Nov 08 |
jari |
users should follow the plug-in installation instructions in the |
828 |
27 Nov 08 |
jari |
BASE2 manual available at http://base.thep.lu.se. |
115 |
22 Jun 06 |
jari |
83 |
|
69 |
11 Feb 06 |
jari |
84 |
|
828 |
27 Nov 08 |
jari |
= WeNNI package details = |
69 |
11 Feb 06 |
jari |
86 |
|
828 |
27 Nov 08 |
jari |
If you installed the software as a stand alone package two binaries |
828 |
27 Nov 08 |
jari |
where created `NNIFileConverter` and `nni`. If your input file is a |
828 |
27 Nov 08 |
jari |
BASEfile you probably want to compile this package in BASE1 mode |
828 |
27 Nov 08 |
jari |
instead (see `INSTALL` for compilation instructions). |
69 |
11 Feb 06 |
jari |
91 |
|
828 |
27 Nov 08 |
jari |
The three programs will take you from a BASEfile to an imputed matrix |
828 |
27 Nov 08 |
jari |
by running them in the order below (examples 1 to 3). There is no need |
828 |
27 Nov 08 |
jari |
to run all steps, i.e., you can generate a data (matrix) file with an |
828 |
27 Nov 08 |
jari |
associated weights matrix file and just run `nni` to impute missing |
828 |
27 Nov 08 |
jari |
values. |
69 |
11 Feb 06 |
jari |
97 |
|
828 |
27 Nov 08 |
jari |
There is a 4th example below where the `wenni.pl` script (found in |
828 |
27 Nov 08 |
jari |
directory `./base/base1/base_plugin_script/`) is used to run all |
828 |
27 Nov 08 |
jari |
examples 1 through 3. `wenni.pl` also generates a result BASEfile that |
828 |
27 Nov 08 |
jari |
a BASE1 server would accept as a result file (and import it into the |
828 |
27 Nov 08 |
jari |
database) when running `wenni.pl` as a plug-in from within BASE1. |
69 |
11 Feb 06 |
jari |
103 |
|
828 |
27 Nov 08 |
jari |
104 |
{{{ |
69 |
11 Feb 06 |
jari |
1) BaseFileConverter. |
69 |
11 Feb 06 |
jari |
106 |
|
69 |
11 Feb 06 |
jari |
Extracts columns from a file exported from BASE, and writes the |
69 |
11 Feb 06 |
jari |
extracted data into files in matrix form. What data should be |
828 |
27 Nov 08 |
jari |
extracted from the BASEfile is set by command line options. |
69 |
11 Feb 06 |
jari |
110 |
|
69 |
11 Feb 06 |
jari |
Command syntax: |
69 |
11 Feb 06 |
jari |
112 |
|
69 |
11 Feb 06 |
jari |
BaseFileConverter <basefile> <string> -<fieldtype> <fieldname> ... |
69 |
11 Feb 06 |
jari |
114 |
|
69 |
11 Feb 06 |
jari |
or |
69 |
11 Feb 06 |
jari |
116 |
|
69 |
11 Feb 06 |
jari |
BaseFileConverter <basefile> -show |
69 |
11 Feb 06 |
jari |
118 |
|
69 |
11 Feb 06 |
jari |
where |
69 |
11 Feb 06 |
jari |
120 |
|
69 |
11 Feb 06 |
jari |
<basefile> is the file exported from BASE. |
69 |
11 Feb 06 |
jari |
<string> is a string added to the beginning of all matrix files created. |
828 |
27 Nov 08 |
jari |
<fieldtype> defines which field should be extracted from the BASEfile. |
69 |
11 Feb 06 |
jari |
<fieldname> the name of the column to extract. |
69 |
11 Feb 06 |
jari |
... means that the two last option can be defined several times. This to |
70 |
13 Feb 06 |
jari |
facilitate export of several fields in one run. |
69 |
11 Feb 06 |
jari |
127 |
|
828 |
27 Nov 08 |
jari |
-show will output available fieldtypes and fieldnames in the BASEfile. |
69 |
11 Feb 06 |
jari |
129 |
|
69 |
11 Feb 06 |
jari |
Example |
69 |
11 Feb 06 |
jari |
131 |
|
828 |
27 Nov 08 |
jari |
a) This is an example on how to extract data from a sample BASEfile |
828 |
27 Nov 08 |
jari |
available in the data directory (data/basefile_in.data) |
69 |
11 Feb 06 |
jari |
134 |
|
69 |
11 Feb 06 |
jari |
./BaseFileConverter basefile_in.data wenni_ -assayFields FCh1Mean \ |
69 |
11 Feb 06 |
jari |
-assayFields BCh1Mean \ |
69 |
11 Feb 06 |
jari |
-assayFields FCh2Mean \ |
69 |
11 Feb 06 |
jari |
-assayFields BCh2Mean \ |
69 |
11 Feb 06 |
jari |
-assayFields BCh1SD \ |
69 |
11 Feb 06 |
jari |
-assayFields BCh2SD |
69 |
11 Feb 06 |
jari |
141 |
|
69 |
11 Feb 06 |
jari |
Six files will be created: wenni_BCh1Mean.data, wenni_BCh1SD.data, |
69 |
11 Feb 06 |
jari |
wenni_BCh2Mean.data, wenni_BCh2SD.data, |
69 |
11 Feb 06 |
jari |
wenni_FCh1Mean.data, wenni_FCh2Mean.data |
69 |
11 Feb 06 |
jari |
145 |
|
828 |
27 Nov 08 |
jari |
b) Another example on how to extract data from a sample BASEfile |
69 |
11 Feb 06 |
jari |
available in the data directory (data/basefile_in.data) |
69 |
11 Feb 06 |
jari |
148 |
|
69 |
11 Feb 06 |
jari |
./BaseFileConverter basefile_in.data wenni_ -assayFields intensity1 \ |
69 |
11 Feb 06 |
jari |
-assayFields intensity2 \ |
69 |
11 Feb 06 |
jari |
-assayFields BCh1SD \ |
69 |
11 Feb 06 |
jari |
-assayFields BCh2SD |
69 |
11 Feb 06 |
jari |
153 |
|
69 |
11 Feb 06 |
jari |
Four files will be created: wenni_intensity1.data, wenni_BCh1SD.data, |
69 |
11 Feb 06 |
jari |
wenni_intensity2.data, wenni_BCh2SD.data |
69 |
11 Feb 06 |
jari |
156 |
|
69 |
11 Feb 06 |
jari |
157 |
|
69 |
11 Feb 06 |
jari |
2) NNIFileConverter |
69 |
11 Feb 06 |
jari |
159 |
|
69 |
11 Feb 06 |
jari |
This program merges the six files created in with BaseFileConverter |
69 |
11 Feb 06 |
jari |
into two files: a logratio matrix file and a weight matrix file. |
69 |
11 Feb 06 |
jari |
162 |
|
69 |
11 Feb 06 |
jari |
Command syntax: |
69 |
11 Feb 06 |
jari |
164 |
|
69 |
11 Feb 06 |
jari |
NNIFilerConverter -o option |
69 |
11 Feb 06 |
jari |
166 |
|
69 |
11 Feb 06 |
jari |
with the following available options |
69 |
11 Feb 06 |
jari |
168 |
|
69 |
11 Feb 06 |
jari |
-beta the beta parameter of the snr to weight calculation. |
69 |
11 Feb 06 |
jari |
-datatype Values 'raw' or 'derived' . When 'derived' is given, |
69 |
11 Feb 06 |
jari |
only foreground files are expected, and background |
69 |
11 Feb 06 |
jari |
files ignored (cf. options -fg1, -fg2, -bg1, and -bg2. |
69 |
11 Feb 06 |
jari |
-fg1 input file first foreground |
69 |
11 Feb 06 |
jari |
-bg1 input file first background |
69 |
11 Feb 06 |
jari |
-bgstd1 input file first background standard deviation |
69 |
11 Feb 06 |
jari |
-fg2 input file second foreground |
69 |
11 Feb 06 |
jari |
-bg2 input file second background |
69 |
11 Feb 06 |
jari |
-bgstd2 input file second background standard deviation |
69 |
11 Feb 06 |
jari |
-logratio output file logratio (first/second) |
69 |
11 Feb 06 |
jari |
-weight output file weight |
69 |
11 Feb 06 |
jari |
181 |
|
69 |
11 Feb 06 |
jari |
Example |
69 |
11 Feb 06 |
jari |
183 |
|
69 |
11 Feb 06 |
jari |
c) This is an example on how to merge the files created in the |
69 |
11 Feb 06 |
jari |
BaseFileConverter example a) above. |
69 |
11 Feb 06 |
jari |
186 |
|
69 |
11 Feb 06 |
jari |
./NNIFileConverter -beta 0.6 \ |
69 |
11 Feb 06 |
jari |
-bg1 wenni_BCh1Mean.data \ |
69 |
11 Feb 06 |
jari |
-bg2 wenni_BCh2Mean.data \ |
69 |
11 Feb 06 |
jari |
-bgstd1 wenni_BCh1SD.data \ |
69 |
11 Feb 06 |
jari |
-bgstd2 wenni_BCh2SD.data \ |
69 |
11 Feb 06 |
jari |
-fg1 wenni_FCh1Mean.data \ |
69 |
11 Feb 06 |
jari |
-fg2 wenni_FCh2Mean.data \ |
69 |
11 Feb 06 |
jari |
-logratio wenni_logratio.data \ |
69 |
11 Feb 06 |
jari |
-weight wenni_weight.data |
69 |
11 Feb 06 |
jari |
196 |
|
69 |
11 Feb 06 |
jari |
Two files will be created: wenni_logratio.data wenni_weight.data |
69 |
11 Feb 06 |
jari |
198 |
|
69 |
11 Feb 06 |
jari |
d) Another example on how to merge the files created in the |
69 |
11 Feb 06 |
jari |
BaseFileConverter example b) above. |
69 |
11 Feb 06 |
jari |
201 |
|
69 |
11 Feb 06 |
jari |
./NNIFileConverter -beta 0.6 \ |
69 |
11 Feb 06 |
jari |
-bgstd1 wenni_BCh1SD.data \ |
69 |
11 Feb 06 |
jari |
-bgstd2 wenni_BCh2SD.data \ |
70 |
13 Feb 06 |
jari |
-datatype derived \ |
69 |
11 Feb 06 |
jari |
-fg1 wenni_intensity1.data \ |
69 |
11 Feb 06 |
jari |
-fg2 wenni_intensity2.data \ |
69 |
11 Feb 06 |
jari |
-logratio wenni_logratio.data \ |
69 |
11 Feb 06 |
jari |
-weight wenni_weight.data |
69 |
11 Feb 06 |
jari |
210 |
|
69 |
11 Feb 06 |
jari |
Two files will be created: wenni_logratio.data |
70 |
13 Feb 06 |
jari |
wenni_weight.data. If you followed the examples carefully, |
69 |
11 Feb 06 |
jari |
using provided sample files, these result files should be the |
69 |
11 Feb 06 |
jari |
same as the ones produced in example c). |
69 |
11 Feb 06 |
jari |
215 |
|
69 |
11 Feb 06 |
jari |
216 |
|
69 |
11 Feb 06 |
jari |
3) nni |
69 |
11 Feb 06 |
jari |
218 |
|
70 |
13 Feb 06 |
jari |
Perform missing value imputation on a data matrix with associated |
74 |
15 Feb 06 |
jari |
weights. Weights may be SNR, see options. |
69 |
11 Feb 06 |
jari |
221 |
|
70 |
13 Feb 06 |
jari |
The input matrices are read from files and the resulting matrix is |
70 |
13 Feb 06 |
jari |
written to stdout. |
69 |
11 Feb 06 |
jari |
224 |
|
69 |
11 Feb 06 |
jari |
Command syntax: |
69 |
11 Feb 06 |
jari |
226 |
|
69 |
11 Feb 06 |
jari |
nni -o option |
69 |
11 Feb 06 |
jari |
228 |
|
69 |
11 Feb 06 |
jari |
with the following available options |
69 |
11 Feb 06 |
jari |
230 |
|
74 |
15 Feb 06 |
jari |
-beta: set the beta value for weight calculation |
74 |
15 Feb 06 |
jari |
This option is only used if the weights are SNR |
74 |
15 Feb 06 |
jari |
rather than weights. See the WeNNI paper for |
74 |
15 Feb 06 |
jari |
details on this parameter. |
69 |
11 Feb 06 |
jari |
-data data file name |
70 |
13 Feb 06 |
jari |
-neighbours number of nearest neighbours |
69 |
11 Feb 06 |
jari |
This sets the number of contributions to use in |
69 |
11 Feb 06 |
jari |
the imputation. For binary weights this |
69 |
11 Feb 06 |
jari |
corresponds directly to closest neighbours, |
69 |
11 Feb 06 |
jari |
whereas For non-binary weights the accumulated |
69 |
11 Feb 06 |
jari |
weights are compared against the cutoff. |
69 |
11 Feb 06 |
jari |
-nni_algorithm the algorithm to use |
69 |
11 Feb 06 |
jari |
Available algorithms are kNNI and WeNNI and a |
69 |
11 Feb 06 |
jari |
string is expected as the option |
69 |
11 Feb 06 |
jari |
-weight weight file name |
69 |
11 Feb 06 |
jari |
Weights must be within [0,1]. |
159 |
11 Aug 06 |
jari |
See -weight_cutoff parameter if kNNI algorithm is used. |
74 |
15 Feb 06 |
jari |
-weight_cutoff set the cutoff value for weights |
74 |
15 Feb 06 |
jari |
kNNI requires binary weights. All values larger than |
74 |
15 Feb 06 |
jari |
the cutoff will be treated as 1s, and 0s otherwise. |
74 |
15 Feb 06 |
jari |
-weight_is_snr weight file contains snr values rather than weights |
74 |
15 Feb 06 |
jari |
Use -beta to tune the weights. |
69 |
11 Feb 06 |
jari |
253 |
|
74 |
15 Feb 06 |
jari |
254 |
|
74 |
15 Feb 06 |
jari |
255 |
|
69 |
11 Feb 06 |
jari |
Example |
69 |
11 Feb 06 |
jari |
257 |
|
69 |
11 Feb 06 |
jari |
e) This is an example on how to (WeNNI) impute the data file using the |
69 |
11 Feb 06 |
jari |
associated weights file created by NNIFileConverter above: |
69 |
11 Feb 06 |
jari |
260 |
|
69 |
11 Feb 06 |
jari |
./nni -data wenni_logratio.data \ |
69 |
11 Feb 06 |
jari |
-neighbours 10 \ |
69 |
11 Feb 06 |
jari |
-nni_algorithm WeNNI \ |
70 |
13 Feb 06 |
jari |
-weight wenni_weight.data > wenni_imputed.data |
69 |
11 Feb 06 |
jari |
265 |
|
70 |
13 Feb 06 |
jari |
One file will be created: wenni_imputed.data |
69 |
11 Feb 06 |
jari |
267 |
|
74 |
15 Feb 06 |
jari |
f) This is an example on how to (WeNNI) impute the data file using |
74 |
15 Feb 06 |
jari |
an SNR file instead of weights: |
69 |
11 Feb 06 |
jari |
270 |
|
74 |
15 Feb 06 |
jari |
./nni -beta 0.6 \ |
74 |
15 Feb 06 |
jari |
-data wenni_logratio.data \ |
74 |
15 Feb 06 |
jari |
-neighbours 10 \ |
74 |
15 Feb 06 |
jari |
-nni_algorithm WeNNI \ |
74 |
15 Feb 06 |
jari |
-weight wenni_snr.data \ |
159 |
11 Aug 06 |
jari |
-weight_is_snr > wenni_imputed.data |
74 |
15 Feb 06 |
jari |
277 |
|
74 |
15 Feb 06 |
jari |
One file will be created: wenni_imputed.data |
83 |
04 Apr 06 |
jari |
This file may differ slightly from the file generated in |
74 |
15 Feb 06 |
jari |
example e) above due to limited floating point precision. |
74 |
15 Feb 06 |
jari |
281 |
|
74 |
15 Feb 06 |
jari |
g) This is an example on how to (KNNimpute) impute the data file |
74 |
15 Feb 06 |
jari |
using the associated weights file created by NNIFileConverter |
74 |
15 Feb 06 |
jari |
above: |
74 |
15 Feb 06 |
jari |
285 |
|
74 |
15 Feb 06 |
jari |
./nni -data wenni_logratio.data \ |
74 |
15 Feb 06 |
jari |
-neighbours 10 \ |
74 |
15 Feb 06 |
jari |
-nni_algorithm kNNI \ |
74 |
15 Feb 06 |
jari |
-weight wenni_weight.data \ |
159 |
11 Aug 06 |
jari |
-weight_cutoff 0.5 > knni_imputed.data |
74 |
15 Feb 06 |
jari |
291 |
|
74 |
15 Feb 06 |
jari |
One file will be created: knni_imputed.data |
74 |
15 Feb 06 |
jari |
293 |
|
74 |
15 Feb 06 |
jari |
294 |
|
69 |
11 Feb 06 |
jari |
4) wenni.pl |
69 |
11 Feb 06 |
jari |
296 |
|
828 |
27 Nov 08 |
jari |
Performs missing value imputation on data in a BASEfile. The |
828 |
27 Nov 08 |
jari |
BASEfile is read from stdin, and the resulting BASEfile is written |
828 |
27 Nov 08 |
jari |
to stdout. This is how a plug-in is expected to behave to make the |
69 |
11 Feb 06 |
jari |
BASE job runner happy. |
69 |
11 Feb 06 |
jari |
301 |
|
70 |
13 Feb 06 |
jari |
Command syntax: |
69 |
11 Feb 06 |
jari |
303 |
|
665 |
16 Apr 08 |
jari |
wenni.pl --option value < basefile_in.data > basefile_out.data |
69 |
11 Feb 06 |
jari |
305 |
|
70 |
13 Feb 06 |
jari |
wenni.pl will read options from basefile_in.data, but the settings |
70 |
13 Feb 06 |
jari |
may be changed by corresponding command line options. The available |
70 |
13 Feb 06 |
jari |
command line options are |
69 |
11 Feb 06 |
jari |
309 |
|
69 |
11 Feb 06 |
jari |
--beta the beta parameter (cf. text to example 2). |
69 |
11 Feb 06 |
jari |
--datatype string that defines data exported from BASE. |
69 |
11 Feb 06 |
jari |
Allowed string values for datatype is 'raw' or |
69 |
11 Feb 06 |
jari |
'derived' (without '' characters). When 'derived' |
69 |
11 Feb 06 |
jari |
is given, the user defined intensity1 and |
828 |
27 Nov 08 |
jari |
intensity2 will be used from the BASEfile. When |
69 |
11 Feb 06 |
jari |
'raw' is used, intensity1 will be calculated as |
69 |
11 Feb 06 |
jari |
FCh1Mean-BCh1Mean (intensity2 is defined |
69 |
11 Feb 06 |
jari |
correspondingly). |
70 |
13 Feb 06 |
jari |
--neighbours number of nearest neighbours (cf. text to example 3). |
69 |
11 Feb 06 |
jari |
--nodelete Do not clean up, i.e. temporary files will not be |
69 |
11 Feb 06 |
jari |
deleted. |
69 |
11 Feb 06 |
jari |
322 |
|
69 |
11 Feb 06 |
jari |
Example |
69 |
11 Feb 06 |
jari |
324 |
|
74 |
15 Feb 06 |
jari |
h) wenni.pl will basically run through examples 1a, 2c, and 3e |
828 |
27 Nov 08 |
jari |
sequentially, and produce a BASEfile with the imputed |
70 |
13 Feb 06 |
jari |
values. 'raw' type of input data is demanded by the command line |
828 |
27 Nov 08 |
jari |
options --datatype. Other options are read from the input |
828 |
27 Nov 08 |
jari |
BASEfile. Intermediate files will not be deleted |
69 |
11 Feb 06 |
jari |
330 |
|
69 |
11 Feb 06 |
jari |
./wenni.pl --datatype raw --nodelete < basefile_in.data > basefile_out.data |
69 |
11 Feb 06 |
jari |
332 |
|
74 |
15 Feb 06 |
jari |
i) wenni.pl will basically run through examples 1b, 2d, and 3e |
828 |
27 Nov 08 |
jari |
sequentially, and produce a BASEfile with the imputed |
70 |
13 Feb 06 |
jari |
values. 'derived' type of data is expected ('derived' type is |
828 |
27 Nov 08 |
jari |
default). Options are read from the input BASEfile. |
828 |
27 Nov 08 |
jari |
Intermediate files are deleted. |
69 |
11 Feb 06 |
jari |
338 |
|
69 |
11 Feb 06 |
jari |
./wenni.pl < basefile_in.data > basefile_out.data |
828 |
27 Nov 08 |
jari |
340 |
}}} |