I was trying to process CodeLink UniSet Rat I Bioarray data from GSE59913. Previously I have processed UniSet Human 20K I Bioarray using Codelink R package by the following code.
codset = readCodelinkSet(filename = codelinkpath[[i]]) features <- readCodelink(codelinkpath[[i]]) ## An addition to get the ids #generate ids ids <- features$name codset = codCorrect(codset, method = "half", offset = 0) codset = codNormalize(codset, method = "loess", weights = getWeight(codset), loess.method = "fast") exprs <- exprs(codset) snr <- getSNR(codset)
But the data from above mentioned data can't be processed by the shown code. I get the error saying
Warning: Error in .readCodelinkRaw: File /tmp/Rtmprqyiqc/6f094408eaf2e239e07be5ae/0.txt does not contain column Spot_mean (choose other type instead)
Which is due to the reason that the data does not have Spot_mean information present. Is it possible to generate ids, expression values and SNR values for such type of data.
EDIT:
Few lines shown from sample GSM1453524 available with [GSE59913](https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE59913)
ICONIX Format Report for Slide (T00126807) LAYOUT EXP5280X2-584.22.ID PROJECT UNISET-RAT EXPERIMENT UNISET-RAT Report( 1 ): Expression Report1 -------------------------------------------------------------------------------- # Array No. Probe Name Probe Grid Row Probe Grid Col Probe Droplet Cx Probe Droplet Cy Probe Droplet Radius Probe Value Array Threshold Array Sample Name Spot QC 1 1 YJEK_PROBE3 173 38 1269.96354166666 4264.984375 16 0.0000 13.9830837630944 16274 2 2 1 LEUC_PROBE1 61 23 828 1566 16 0.0000 13.9830837630944 16274 2 3 1 U49235_PROBE1 106 34 1133.5 2647.5 17 0.0602 13.9830837630944 16274 2 4 1 ARAA_PROBE2 191 23 817.96875 4695.97395833333 16 0.1146 13.9830837630944 16274 2 5 1 RAFB_PROBE4 166 8 352 4095 18 0.4357 13.9830837630944 16274 2 6 1 RAFD_PROBE2 90 23 806.5 2261.5 19 0.6377 13.9830837630944 16274 2 7 1 FIXA_PROBE1 137 20 729.5 3399.5 19 0.6486 13.9830837630944 16274
I tried with type = "Raw"
codset = readCodelinkSet(filename = codelinkpath[[1]], file.path("/media/hussain/A006D86A06D84348/data/GSE59907_RAW"), type = "Raw") Error in .readCodelinkRaw(files = filename, ...) : File /media/hussain/A006D86A06D84348/data/GSE59907_RAW/GSM1453331_T00141653_2002-10-01.txt does not contain column Raw_intensity (choose other type instead)
And with type = "Norm"
Error in .readCodelinkRaw(files = filename, ...) : File /media/hussain/A006D86A06D84348/data/GSE59907_RAW/GSM1453331_T00141653_2002-10-01.txt does not contain column Normalized_intensity (choose other type instead)
In addition to considering what James points out in his response, it is not clear why do you need to call readCodelinkSet() and readCodelink() in your code. Is this a publicly accessible dataset (e.g. GEO) for which you could share with us the URL to check it?
I use readCodelink() to get feature names. I have updated my question, please check the edit.