What are fnFs and fnRs? Think about why we might want to make lists of files. (Remember how we used loops earlier to cycle through lists of files. Maybe in R we won't need to use a loop if we have a vector of items)
This one's a bit funny syntactically. Use the ? to try and figure out what sapply does. The oddest bit is that single square bracket '['. In R, the square bracket is actually a function much like '+' and '-'! It is actually the subset function here.
Now we have our file names, we can look at the quality values of the reads:
> plotQualityProfile(fnFs[1:2])
Then modify the above to look at the reverse reads too. How are the scores different between read 1 and read 2?
Next we want to make file paths for the filtering and trimming step that will be coming up.
Now we move on to actually filtering and quality trimming our reads. Again use ? to see what filterAndTrim does, and what the various options are here.