[BioC] Functions

Steve Lianoglou lianoglou.steve at gene.com
Tue Jun 11 01:36:59 CEST 2013


... au contraire mon frere ...

On Mon, Jun 10, 2013 at 2:06 PM, James W. MacDonald <jmacdon at uw.edu> wrote:
[snip]
>>          Data<- ReadAffy( sampleNames=as.character( Cov$Label
>> ),phenoData=tmp, verbose=TRUE )
>> }
>
>
> This function doesn't return anything. You can end the function in one of
> three ways. The last lines can be

As the opportunity to correct Jim doesn't arise too often, you've got
to keep your sense sharp and your keyboard ready plugged in.

R> nothing <- function(x) {
  y <- x + 10
}

R> something <- nothing(10)
R> something
[1] 20

Behold: we have created something from .. well .. you get the idea.

And now for my next trick: I'll make myself disappear.

-ste**poof**



More information about the Bioconductor mailing list