Parameterized ggplot with shiny

Hi all,

I'm new to R, so sorry for the wrong terms/phrases in advance if any.

I have a huge chunk of test data any of which has 3 different parameters such as ID, group, and result. I can generate the plot with ggplot but I want to make the plot interactive, for example, it should only show the result of the selected groups. There are 10 different groups within the data, so it would be nice to enable/disable those (showing more than one selected group at the same time would be even better). But to do so, I couldn't figure out how I should change my already working ggplot and the server function of shiny.

Any help would be appreciated,
Cheers

Can you provide a reproducible example?

I suppose you have had a look at the shiny gallery?