Professional Documents
Culture Documents
Contents
How to Run PAM analysis using R in combination with Coffalyser.NET program............................................. 1
Coffalyser.Net - Support............................................................................................................................. 2
Contact us.................................................................................................................................................. 2
Using R scripts for calling your BRCA1ness classification with P376 ............................................................ 3
Step 1: Collect all relevant data / programs ............................................................................................ 3
Step 2: Windows regional settings ......................................................................................................... 3
Step 3: Install Coffalyser.Net and install R .............................................................................................. 3
Step 4: Install pamr package in R ............................................................................................................ 3
Create your training data file ..................................................................................................................... 4
Formats of export files ........................................................................................................................... 4
Step 5. Analyze your training data set .................................................................................................... 5
Step 6. Open the experiment explorer and export data in R format........................................................ 6
Step 7. Add the classification to the txt training data.............................................................................. 7
Calling your unknown data......................................................................................................................... 9
Step 8. Analyze your test data ................................................................................................................ 9
Step 9. Call your data in R..................................................................................................................... 11
Output file ........................................................................................................................................... 12
Coffalyser.Net - Support
MRC-Holland Main
http://www.mlpa.com
Contact us
Next you will need to select a mirror. Select the closest mirror to your location. Now scroll through the list of
packages and select pamr and click on OK.
P376-B2-0911-NEW MB-NKI-REF1-CHE-1
P376-B2-0911-NEW MB-NKI-REF2-CHE-1
P376-B2-0911-NEW MB-NKI-REF3-CHE-2
P376-B2-0911-NEW MB-NKI-REF4-CHE-3
P376-B2-0911-NEW MB-NKI-REF5-CHE-3
P376-B2-0911-NEW MB-NKI-REF6-CHE-4
P376-B2-0911-NEW MB-NKI-REF7-CHE-5
P376-B2-0911-NEW MB-NKI-REF8-CHE-6
P376-B2-0911-NEW MB-NKI-REF9-CHE-7
P376-B2-0911-NEW MB-NKI-REF10-CHE-7
P376-B2-0911-NEW MB-NKI-REF11-CHE-8
P376-B2-0911-NEW MB-NKI-REF12-CHE-9
P376-B2-0911-NEW MB-NKI-REF13-CHE-10
P376-B2-0911-NEW MB-NKI-REF14-CHE-10
P376-B2-0911-NEW MB-NKI-REF15-CHE-11
P376-B2-0911-NEW MB-NKI-REF15-CHE-11-2
In the Comparative Analysis Experiment Explorer use the key combination of: Ctrl + Shift + Alt + R, this will
allow you to save the grid data to a specific txt file format that may be used for R.
Do not make the R-script file yet, you will need to use this option for your test data later.
Now select all the columns that contain the reference samples (noted with REF) and remove these
columns from the worksheet. Also remove the column with the sample names: N20120-CHE-10, N16986CHE-10, B1022-CHE-6 and C020-CHE-7.
Now we need to add the classification for each sample in row 2, right underneath the sample name. You can
find the classification of all the samples of the training set in the table below. Please be sure to use the exact
classification names for all samples. If you accidently add a single symbol then this sample will be seen as a
new group.
2131
2124
2165
2134
2224
2151
2254
2169
2312
2175
2355
2182
B1007
2188
B1035
2195
B1045
2204
B1049
2216
B1058
2227
B1061
2232
B1064
2234
B1065
2276
C119
2278
C121
2295
T4147
2298
T6701
2350
C035
C036
C044
C048
C065
C068
C127
C128
C129
C130
Now save the changes you made to the grid, be sure that you KEEP the format: Text (Tab delimited)!
8
Now you will be asked to select the file that you want to use as training data. Select the training data txt file
where you have just added the classification and click on Open.
Please note: the R codes needed to train and make the calls are now copied to your clipboard. This is done
so that you do not need to type in all the codes that direct the program to all the relevant file locations. If
you want to use this option, you will need to open the R program directly after and paste the content of your
clipboard in the R console as explained in the next step. The R codes will also be saved in a txt file that will
be saved at the same location.
10
11
12