I have the following error when I run the command in R (> s=read.csv("Samples.csv"), > counts=readDGE(s$cf)$counts)
Error in taglist[[i]] : subscript out of bounds. LibraryName Library Layout fastq1 fastq2 condition shortname ATCC26_30 PAIRED AT30.left.fastq AT30.right.fastq Saphrophyte AT_30 ATCC26_37 PAIRED AT37.left.fastq AT37.right.fastq Saphrophyte AT_37 CI1123_30 PAIRED CI30.left.fastq CI30.right.fastq Surgery CI_30 CI1123_37 PAIRED CI37.left.fastq CI37.right.fastq Surgery CI_37 CI1698_30 PAIRED YS30.left.fastq YS30.right.fastq Healed YS_30 CI1698_37 PAIRED YS37.left.fastq YS37.right.fastq Healed YS_37
Can anyone pls tell me the way to rectify the error, or pls send the link if already discussed the relevant post in this forum....
hi Muthukumar, in order for us to be able to help we need a lil more information. what's in your
Sample.csv
file? can you dohead(s)
and see how it looks like? can you give us more info about libraries etc etc... also, can you use the correct formatting for your code? that will make it much easier for users to readSamples.csv
LibraryName - ATCC26_30 ATCC26_37 CI1123_30 CI1123_37 CI1698_30 CI1698_37
Library Layout-PAIRED PAIRED PAIRED PAIRED PAIRED PAIRED
fastq1 AT30.left.fastq AT37.left.fastq CI30.left.fastq CI37.left.fastq YS30.left.fastq YS37.left.fastq
fastq2 AT30.right.fastq AT37.right.fastq CI30.right.fastq CI37.right.fastq YS30.right.fastq YS37.right.fastq
Condition Saphrophyte Saphrophyte Surgery Surgery Healed Healed
shortname AT_30 AT_37 CI_30 CI_37 YS_30 YS_37
cf ATCC26_30.count ATCC26_37.count CI1123_30.count CI1123_37.count CI1698_30.count CI1698_37.count
Error in read.table(file = file, header = header, sep = sep, quote = quote, : no lines available in input
How to solve this issue...