Python Programming for Biology: Bioinformatics and Beyond


Figure 16.2 (Plate 3).  Image pixmaps constructed from array data stored in the



Download 7,75 Mb.
Pdf ko'rish
bet245/514
Sana30.12.2021
Hajmi7,75 Mb.
#91066
1   ...   241   242   243   244   245   246   247   248   ...   514
Bog'liq
[Tim J. Stevens, Wayne Boucher] Python Programming

Figure 16.2 (Plate 3).  Image pixmaps constructed from array data stored in the

Microarray class. Shown from left to right are: a red and green representation of the

original, imported data; the original data displayed as yellow and blue colours (the original

red-channel data becomes red and green in the image and the original green data becomes

blue); clipped and normalised data where values less than half the maximum are set to

zero.

To make an image only containing red by taking data from layer 0 in the array we can



specify channels as (0,None,None).

rgArray.makeImage(20, channels=(0,None,None)).show()

And  if  we  want  to  change  the  order  of  the  layers  so  that  the  originally  red  and  green



data  (indices  0  and  1)  are  mapped  to  yellow  and  blue  respectively  we  do  the  following,

illustrating the result in

Figure 16.2b

:

rgArray.makeImage(20, channels=(0, 0, 1)).show()




Download 7,75 Mb.

Do'stlaringiz bilan baham:
1   ...   241   242   243   244   245   246   247   248   ...   514




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish