Less likely to get hit riding with the flow of traffic. Odds go up some when dealing with cross traffic, more so at drive ways than intersections controlled by lights or stop signs, then higher when riding the sidewalk (with or against traffic), and higher still when 'salmoning'- which is when you ride the wrong way in traffic with the belief that you're safer if you see them coming. Being a 'ninja'- no lights at night- rates up with salmoning and the greatest is when you combine ninja with salmon.
It's natural to wonder about one's safety while riding, but if it worries you to the point where you'd consider giving up cycling, then you're just looking for an excuse to give up anyway.