If the vertical run of the supply line is 8" to 10", you can install a straight stop as your shut off valve. If the run isn't that long, it is best to install an angle stop. Attach the angle stop to the horizontal pipe and then run the supply line vertically.
Straight stops, angle stops and other PEX fittings and valves can be found at www.supplyhouse.com