Restyling a specific trace in plotly R

I want to use a dropdown menu to restyle a specific trace but i can not find a solution ! any help pleaaaaaaaaaaaaaaaase