[BioC] EBImage Sample code errors

Dan Tenenbaum dtenenba at fhcrc.org
Thu Jul 19 00:59:31 CEST 2012


On Wed, Jul 18, 2012 at 3:36 PM, Robert Baer <rbaer at atsu.edu> wrote:
> I get the following errors when running the EBImage introductory sample
> code:
>
>>###################################################
>>### code chunk number 11: math2
>>###################################################
>>lena4 = lena[299:376, 224:301]
> Error in slot(lena, ".Data")[299:376, 224:301] :
>    incorrect number of dimensions
>>lena5 = lena>0.5
>>lena6 = t(lena)
> Error in t.default(lena) : argument is not a matrix
>>print(median(lena))
> [1] 0.3803922
>>
>
> Can any when help me understand what is going on?
>

Can you send the output of sessionInfo() after receiving this error?
Dan


> Did something go from S3 to S4 that changes the way this code should be written?
>
> Thanks,
>
> Rob
>
>
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> 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