Entering edit mode
David Rossell
▴
100
@david-rossell-3353
Last seen 10.2 years ago
Hi, I'm using ShortRead package version 1.0.7 on R 2.8.0.
I have three binary map files produced by MAQ that I want to read into
Bioconductor. I can read one file at a time with the function
ReadAligned,
by typing
aln <- readAligned(dir,"S1.map",type="MAQMap")
This works like a charm. However, I cannot read all files in the
directory
> aln <- readAligned(dirPath=dir,type="MAQMap")
Error: UserArgumentMismatch
'dirPath', 'pattern' must be 'character(1)'
I tried specifying the pattern argument but the function still doesn't
work.
> aln <- readAligned(dirPath=dir,pattern="S.*",type="MAQMap")
Error: UserArgumentMismatch
'dirPath', 'pattern' must be 'character(1)'
Is this a bug or am I doing something wrong? Any ideas/help are most
welcome.
David
[[alternative HTML version deleted]]