Here's a little IV to I chord lick in the key of C. This lick is played on the E, A, and D strings. If you play the exact same pattern on the A, D, and G strings you'd be playing this in the key of F! In that case you'd be moving between the IV and I in that key which is Bb and F.