Manipulate texture channels inside Material Function

Hey guys, i’m in the process of creating some material functions and i want to get each texture channel (R,G,B) and manipulate them separately like i would do normally. However, if i want to create an INPUT from this texture sample it doesn’t allow me to manipulate these channels separately. Is there any workaround to get this working?