appending values into array instead of a list

2008-12-08 Thread trias
Hi, I have this little script: import csv import numpy signal=[] ref=[] for x in csv.reader(open('reffile.csv').readlines()): ref.append(x) for x in csv.reader(open('signalfile.csv').readlines()): signal.append(x) signalarray=numpy.array(signal, dtype=float) signaldict={} signaldic

anyone with genomewide microarray analysis experience ?

2009-08-14 Thread trias
Hi, I am trying to analyse some biological data from microarray experiments. Different experiments have been stored in a SQL database. One of the things I would like to do is to fetch all data from a certain distance from gene ATGs say 100+/- bp and calculate the bp average over all genes over