If you hug the fog line and only take the lane when you realize you need to force an overtaking motorist to slow down, the motorists will be angry at what they perceive to be an obnoxious maneuver by you. If you default to the center of the lane and move slightly right to allow a motorist to pass more easily, they will think you are a considerate cyclist. At least that is my interpretation, as based on the amount of space they give me when passing and how hard they mash their foot on the accelerator when doing so.
Generally, if you don't take the lane motorists will assume that you think the lane is wide enough to share it with them and take your lane placement as an invitation to buzz you.