diff options
author | Lei Yan | 2014-02-05 13:30:21 -0600 |
---|---|---|
committer | Lei Yan | 2014-02-05 13:30:21 -0600 |
commit | c30c4ed7afaf6e312476506a63db74541d019260 (patch) | |
tree | 8cd6258b8dd98ba1f579c5b48bb464a9bfdc6014 /wqflask/maintenance/dataset | |
parent | f560cd7837d311525741ba540623a9fa97342b95 (diff) | |
download | genenetwork2-c30c4ed7afaf6e312476506a63db74541d019260.tar.gz |
On branch master
Diffstat (limited to 'wqflask/maintenance/dataset')
-rw-r--r-- | wqflask/maintenance/dataset/specials.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/wqflask/maintenance/dataset/specials.py b/wqflask/maintenance/dataset/specials.py index 9caba879..52a2389f 100644 --- a/wqflask/maintenance/dataset/specials.py +++ b/wqflask/maintenance/dataset/specials.py @@ -46,10 +46,27 @@ def bxd_correlations(): print "Get %d probesetxrefs" % (len(probesetxrefs)) # for probesetxref in probesetxrefs: + # probesetid = probesetxref[0] probesetdataid = probesetxref[1] probeset = probesets.get_probeset(probesetid) + ProbeSetId = probeset[0] + ProbeSetName = probeset[1] + # Geno Name Overlap Number Pearson r Pearson p Spearman r Spearman p probesetdata = probesets.get_probesetdata(probesetdataid) + # + for geno in genos: + genoname = geno['locus'] + outputfile.write("%s\t" % probeSetid) + outputfile.write("%s\t" % ProbeSetName) + outputfile.write("%s\t" % GenoName) + outputfile.write("%s\t" % "Overlap Number") + outputfile.write("%s\t" % "Pearson r") + outputfile.write("%s\t" % "Pearson p") + outputfile.write("%s\t" % "Spearman r") + outputfile.write("%s\t" % "Spearman p") + outputfile.write("\n") + outputfile.flush() # outputfile.close() |