I was confused by the extended metaphor, too, until I saw the notice at the bottom that the author is writing a book about how to think like Sherlock Holmes. It's useful when reading this kind of essay to find out what the author is selling, although it usually isn't this obvious.