[BioC] Bimap and flatten()

Laurent Gautier laurent at cbs.dtu.dk
Tue Apr 26 21:31:47 CEST 2011


Hi Marc,

Thanks for the answer.

Since the documentation for the class Bimap is likely the first place 
one facing an instance would reach when looking for more information, 
would it make sense to mention that toTable() should be used where 
flatten() is described (as not much suggests that flatten() is not 
exported otherwise).

Also, is there a particular reason why the method that converts an 
instance to a data.frame is called "toTable()" (while "as.data.frame()" 
is otherwise an existing R method) ?


Best,


Laurent


On 2011-04-26 20:16, Marc Carlson wrote:
> Hi Laurent,
>
> This documentation is just extra information about how these things 
> are internally designed.  It is not expected that you will ever need 
> to flatten a Bimap (the function is only used internally).  The 
> description of the Bimaps has a lot of extra technical details that 
> might be useful if you needed to make a custom package, but which are 
> probably not interesting for most users the rest of the time.
>
> If you were hoping to make a Bimap appear as something more like a 
> simple data.frame you might just be looking for toTable().
>
>
> Hope this helps,
>
>
>   Marc
>
>
> On 04/25/2011 10:11 AM, Laurent Gautier wrote:
>> Hi,
>>
>> The documentation for Bimap (in AnnotationDbi) refers to a generic 
>> "flatten()" that does not appear to be exported.
>>
>> Is this by design or is this an oversight ?
>>
>> Thanks,
>>
>>
>> Laurent
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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


-- 
-
Laurent Gautier, Ph.D.
DMAC, Head
Building 208, CBS - Technical University of Denmark
DK-2800 Lyngby
Phone: +45 45 25 61 45     Fax: +45 45 93 15 85



More information about the Bioconductor mailing list