I was trying to analyse a breast cancer dataset GSE212370. I have made a pd file for that in the prescribed format of ChAMP document which contains column headers as follows (showing only first 3 rows of pd file):
Sample_Name Sample_Plate Sample_Group Pool_ID Project Sample_Well Array Slide Basename Filename
NT1 NA NormalTissue NA NA NA R03C01 201247470004 201247470004_R03C01 201247470004_R03C01
NT2 NA NormalTissue NA NA NA R08C01 200861300050 200861300050_R08C01 200861300050_R08C01
NT3 NA NormalTissue NA NA NA R03C01 200959030050 200959030050_R03C01 200959030050_R03C01
But when I run the following code in R studio, myload<-champ.load("C://Users//Monalisa//Downloads//GSE212370")
it gave me following error,
[<<<< ChAMP.IMPORT START >>>>>]
-----------------------------
[ Section 1: Read PD Files Start ]
CSV Directory: C://Users//Monalisa//Downloads//GSE212370/GSE212370_pd_edited_new.csv
Find CSV Success
Reading CSV File
Your pd file contains NO Array(Sentrix_Position) information.
Your pd file contains NO Slide(Sentrix_ID) information.
Error in champ.import(directory, arraytype = arraytype) :
Error Match between pd file and Green Channel IDAT file.
Please tell me how to resolve this.
In R, I have set the working directory to "C://Users//Monalisa//Downloads//GSE212370". GSE212370 is the folder where I have all the IDAT files along with the pd file named "GSE212370_pd_test.csv". I have run your code in R as follows:
It is giving me,
What should I do now?
Two things. First, when you post code, please highlight and then click on the CODE button that is over the input window (or place triple-backticks before and after the code, where the backtick button is the top left key on a QWERTY keyboard). You can see if you have correctly done so by inspecting the preview window that appears right below the input window. If what you see in the preview window is not very legible, that's a cue that you should fix things.
Second, you just ran code to see if two things are
identical
and the result wasFALSE
. The next logical step is to look at the two and see what's different. Being able to self-diagnose problems is an invaluable skill if you are planning to use R or any Open Source software. The sooner you start cultivating that skill, the better off you will be.