Source

orange-bioinformatics / docs / rst / reference / code / geo_gds3.py

1
2
3
4
5
6
7
8
from Orange.bio import obiGEO

gds = obiGEO.GDS("GDS1676")
data = gds.getdata(sample_type="infection")
print "Genes: %d, Samples: %d" % (len(data), len(data.domain.attributes))

for a in data.domain.attributes:
    print a.name, a.attributes