Theres a lot of articles out there about how accidents occur, but noting really mentions that with a bif#t of care on your own riding, nearly all of them can be avoided!
80% of accidents that involve a car and a bike are because the car did not see the bike. This can be anything from the car driver not looking properly to the biker putting himself in a position on the road where he cannot be seen, like a mirror blind spot, or getting into a position at such speed that the motorist has no time to fairly react such as filtering.
As a rider you need to think about what the other road users are going to do, and what they would do if they have not seen you. You cannot presume they have seen your approach and have to think on their behalf - if they carry out their move without knowing you are there, will they hit you? if so, your line should be adjusted so that if they do you are still safe.
At the end of the day we all know there are people on the roads that don't look properly, do you want to give them the choice on wether you get home or to hospital, do you?