[BioC] Bimap and flatten()

Marc Carlson mcarlson at fhcrc.org
Fri Apr 29 19:38:54 CEST 2011


Hi Laurent,

After discussing it, we see no compelling reason why we can't also 
support calling as.data.frame() here.  So I am adding it to the devel 
branch.


   Marc


On 04/26/2011 12:31 PM, Laurent Gautier wrote:
> 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
>
>



More information about the Bioconductor mailing list