[BioC] Biobase typo in example of AnnotatedDataFrame man page

Martin Morgan mtmorgan at fhcrc.org
Fri Mar 2 15:10:43 CET 2012


On 03/02/2012 03:42 AM, James F. Reid wrote:
> Dear BioC,
>
> answering to a recent query on the mailing list I noticed a small typo
> in the example provided in the AnnotatedDataFrame help page:
>
> AnnotatedDataFrame(data=df, varMetaData=metaData)
> should be
> AnnotatedDataFrame(data=df, varMetadata=metaData)

Thanks for the typo...
>
> also, no error is given when calling directly AnnotatedDataFrame (the
> varMetadata slot is empty) but calling new('AnnotatedDataFrame')
> produces an error where 'varMetaData' is not a valid slot name.

I think what you mean is that

   AnnotatedDataFrame(varMetaData=data.frame())

doesn't result in an error. but should. These are both fixed in the 
devel branch, Biobase 2.15.4. Thanks! Martin

>
> Best.
> J.
>
> _______________________________________________
> 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


-- 
Computational Biology
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109

Location: M1-B861
Telephone: 206 667-2793



More information about the Bioconductor mailing list