Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T919g-0000ZY-85 for pgsql-general@postgresql.org; Tue, 04 Sep 2012 21:59:32 +0000 Received: from vm-emlprdomr-10.its.yale.edu ([130.132.50.176]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T919f-000565-2A for pgsql-general@postgresql.org; Tue, 04 Sep 2012 21:59:31 +0000 Received: from plattjt.med.yale.edu (plattjt.med.yale.edu [130.132.88.91]) by vm-emlprdomr-10.its.yale.edu (8.14.4/8.14.4) with ESMTP id q84LxMdf023102 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Tue, 4 Sep 2012 17:59:29 -0400 From: Aram Fingal Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-81--878430461 Subject: Re: crosstab Date: Tue, 4 Sep 2012 17:59:16 -0400 In-Reply-To: <16BCF757-06E1-47C2-8E59-ACD7FEBE6A3B@themactionfaction.com> To: Postgres-General General References: <1346773199616-5722632.post@n5.nabble.com> <1346784707.8977.6.camel@asus-1001PX.home> <73FF0C6A-965B-4456-BA90-2B8FD1CBC118@multifactorial.com> <504655DD.4030701@joeconway.com> <09AE4623-B1E5-4F8D-AC55-EF5906A6411C@multifactorial.com> <7455D95E-B02C-4D24-A651-F9D84914A89E@multifactorial.com> <16BCF757-06E1-47C2-8E59-ACD7FEBE6A3B@themactionfaction.com> Message-Id: X-Mailer: Apple Mail (2.1084) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.176 X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201209/109 X-Sequence-Number: 190125 --Apple-Mail-81--878430461 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Sep 4, 2012, at 4:36 PM, A.M. wrote: > Or you could return the heatmap/plot as BYTEA data or use arrays as = necessary. I was actually thinking exactly the same thing. Part of the reason I = use PostgreSQL for all my bioinformatics work is that there is a need to = correctly associate analysis results with the data and experimental = methods they come from. I have tables for experimental runs, = technicians, procedures, samples, drugs, etc. and I use foreign key = constraints to connect them all. The idea is to have all the = information readily accessible to reproduce complex results in modern = scientific fashion. If I store the plots in the DB, I can connect them = to all these basic information tables. -Aram= --Apple-Mail-81--878430461 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Or you could = return the heatmap/plot as BYTEA data or use arrays as = necessary.

I was actually thinking = exactly the same thing.  Part of the reason I use PostgreSQL for = all my bioinformatics work is that there is a need to correctly = associate analysis results with the data and experimental methods they = come from.  I have tables for experimental runs, technicians, = procedures, samples, drugs, etc. and I use foreign key constraints to = connect them all.  The idea is to have all the information readily = accessible to reproduce complex results in modern scientific fashion. =  If I store the plots in the DB, I can connect them to all these = basic information = tables.

-Aram
= --Apple-Mail-81--878430461--