Entering edit mode
Hi Bioconductor group, I am trying to analyze a Codelink dataset using the following code:
library(codelink)
f = list.files(pattern = "txt")
codset = readCodelinkSet(filename = f)
But I get this error:
Error in readHeader(files[n], dec = TRUE) : Not a Codelink exported file.
In addition: Warning messages:
1: In .readCodelinkRaw(files = filename, ...) :
'readCodelink' and 'readCodelinkSet' do not convert intensities to NA based on flags anymore, except for spots flagged as 'M' (MSR spot). Instead, createWeights() is used to assign weights. These weights can be used during normalization and linear modeling. To obtain the old behavior use parameter 'old=TRUE' (weights will be created anyway).
2: In grep("-{80}", scan(file, nlines = 30, flush = T, quiet = TRUE, :
unable to translate 'CodeLink<99>' to a wide string
3: In grep("-{80}", scan(file, nlines = 30, flush = T, quiet = TRUE, :
input string 1 is invalid
Can anyone help me to solve this error?
Nazanin
```