[BioC] variable as argument to makeContrasts (limma)

Saroj K Mohapatra saroj at vt.edu
Wed Jun 3 15:44:44 CEST 2009


Martin Morgan wrote:
>
> One way is to aim for
>
>   do.call(makeConstrasts, myargs)
>
> where the 'myargs' is a list that you can construct any way you like, 
> e.g.,
>
>   myargs = list("B-A", "C-B", "C-A", levels=design)
>   do.call(makeContrasts, myargs)
>
Perfect!

Saroj



> Martin
>
>>>
>>> So my question is: how can I make this work, and - more generally - how
>>> can I replace the "..." option in a function by a variable?
>>>
>>> Thanks,
>>>
>>> Georg
>>>
>>> _______________________________________________
>>> Bioconductor mailing list
>>> Bioconductor at stat.math.ethz.ch
>>> https://stat.ethz.ch/mailman/listinfo/bioconductor
>>> Search the archives: 
>>> http://news.gmane.org/gmane.science.biology.informatics.conductor
>>>
>>>   
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Bioconductor mailing list
>> Bioconductor at stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/bioconductor
>> Search the archives: 
>> http://news.gmane.org/gmane.science.biology.informatics.conductor
>
>



More information about the Bioconductor mailing list