[BioC] Class for a DataFrame of Matrices
Tim Yates
TYates at picr.man.ac.uk
Tue Jan 22 14:14:16 CET 2013
Good idea!
Quick question though, is it possible to handle rectangular objects as cells (rather than columns)?
So I end up with:
DataFrame with 2 rows and 2 columns
a b
<Matrix> <Matrix>
1 M1 M3
2 M2 M4
Where M1-4 are Matrix objects?
Cheers,
Tim
PS: Originally just replied to Michael, so sent again to the list and added a check-mark next to the reasons I hate Outlook on the Mac
From: Michael Lawrence <lawrence.michael at gene.com<mailto:lawrence.michael at gene.com>>
Date: Tuesday, 22 January 2013 13:06
To: tim <tyates at picr.man.ac.uk<mailto:tyates at picr.man.ac.uk>>
Cc: "bioconductor at r-project.org<mailto:bioconductor at r-project.org>" <bioconductor at r-project.org<mailto:bioconductor at r-project.org>>
Subject: Re: [BioC] Class for a DataFrame of Matrices
Hi Tim,
DataFrame is meant to handle rectangular objects as columns, and it supports the base 'matrix'. It would not be hard to accommodate the Matrix class. Perhaps instead of developing your own class, you could submit a patch adding Matrix support to DataFrame?
Thanks,
Michael
On Tue, Jan 22, 2013 at 2:50 AM, Tim Yates <TYates at picr.man.ac.uk<mailto:TYates at picr.man.ac.uk>> wrote:
Hi all!
Is there a class that will allow me to have a Table (or DataFrame) of sparse Matrices?
data.frame and DataFrame don't work even if I wrap the Matrix like so
DataFrame( I( Matrix( nrow=10, ncol=10, sparse=T ) ) )
with the latter
So does something exist that I can use?
Just thought I'd check before starting out on my own :-)
Cheers,
Tim
________________________________
This email is confidential and intended solely for the u...{{dropped:23}}
More information about the Bioconductor
mailing list