Although this was well covered and all you had to do was SEARCH and read as Todd has told you, I like to teach people to THINK about what is actually happening underneath their balls, while riding on a motorcycle.
Understanding what is happening, is the key.
Fuel injection”maps” alter one thing, the DURATION the fuel injector is OPEN. This changes the amount of fuel being squirted into the intake. Maps seek to optimize air:fuel ratios.
Ride modes, alter the RATE the throttle inputs are PROCESSED and ACTED UPON by the ECU. Instead of providing instant translation, the software “dampens” the response rate, and slows down the transition to a more gradual application of the throttle.
So in RAIN mode for example; a rapid whacking open of the throttle would normally put power to the wheels instantly, and there would be a loss of traction at the rear wheel, potentially causing fishtailing or other chassis instability. The RIDE MODE PROGRAM, intercepts this throttle signal and smooths it out to a more gradual application of the throttle.
Think “gentle roll on” vs. “whacked open instantly” and how the motorcycle would behave in these two very different situations.
The analogy I use is the throttle without riding modes, responds like a regular light switch; off/on, while the RIDE MODE software behaves like a dimmer switch that you turn uniformly and gradually. Both take you to the same place, one instantly and the other gradually!
So, you can mentally see, that these 2 very different components in your motorcycle design, affect two very different things entirely, and are not affected one by the other.
One other complication in the mix.
On very sophisticated systems like the modern BMW motorcycle with active suspensions, in the RIDE MODE, not only is the throttle signal dampened, the actual electronic suspension is also modified as well.