I have created one function Dummyfunc which calculates fold-change for different samples.
I am using gsva function inside this Dummyfunc function. I want to access all the arguments of the gsva function from my Dummyfunc so that I can change the values of the arguments as per the need.
So far I have tried doing like this :-
Dummyfunc <- function(method="gsva",verbose=TRUE,kernel=){
gsva(method=method,kernel=kernel,verbose=verbose)
}
But can it be done in automated fashion so that all arguments of gsva function can be accessed from Dummyfunc