On Tue, Oct 20, 2009 at 5:01 AM, Nick Schurch wrote:
> I have a dataframe called 'genedata' with columns like '$R', '$G' and
> '$Genes' and I want to be able to pass a specific column as a
> parameter to a new R function. I've had a look at the manual and I
> think I should be using something like
rpy2 is certainly different from rpy on a number of points. Whether this
is for the better is for you to decide.
There is currently no central point listing all differences, but hints
at some of the most notable ones are at:
http://rpy.sourceforge.net/rpy2/doc/html/robjects.html?highlight=conversi
Bioconductor is using so-called "S4 objects" .
Handling them in rpy2 is straightforward.
L.
PS: I am working on a bioconductor extension to rpy2,
which may make the jump (even more) worthy.
PPS: I had CLASS_CONVERSION issues in the past and did not manage to
overcome them.
Nick Schurch wrot
HI all,
I'm having some problems understanding how to access data inside a
dataframe with rpy.
I have a dataframe called 'genedata' with columns like '$R', '$G' and
'$Genes' and I want to be able to pass a specific column as a
parameter to a new R function. I've had a look at the manual and I
thi