Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Dash Cytoscape 〜 Pythonによるインタラクティブ・ネットワーク可視化入門 ...

komo_fr
March 10, 2021

Dash Cytoscape 〜 Pythonによるインタラクティブ・ネットワーク可視化入門 / StartPython#67

みんなのPython勉強会#67の発表資料です。

Twitter: @komo_fr
Event page: https://startpython.connpass.com/event/201613/

komo_fr

March 10, 2021
Tweet

More Decks by komo_fr

Other Decks in Programming

Transcript

  1. !LPNP@GS ࣗݾ঺հ 2 ‣ ݹ໦༑ࢠ ‣ 5XJUUFS!LPNP@GS ‣ ࢓ࣄ ‣

    1ZUIPOʹΑΔσʔλղੳɺιϑτ΢ΤΞ։ൃ ‣ גࣜձࣾϏʔϓϥ΢υ ‣ ౦ژେֶઌ୺Պֶٕज़ݚڀηϯλʔ ‣ ࠷ۙͷάϥϑඳը͸΄΅QMPUMZ ‣ 1ZUIPOίϛϡχςΟʹ͓͚Δొஃྺ ‣ 1Z$PO+1 UBML  ‣ &VSP1ZUIPO -5  &VSP1ZUIPO!εΠε
  2. !LPNP@GS ωοτϫʔΫՄࢹԽͱ͸ ‣ ʮԿ͔ʯͱʮԿ͔ʯͷؔ܎ΛՄࢹԽ͢Δख๏ͷͻͱͭ ‣ σʔλͱσʔλͷؔ܎ʹண໨͢Δ͜ͱͰɺ σʔλ୯ମͷଐੑͰ͸Θ͔Βͳ͍ੑ࣭Λ୳Δ ‣ ྫ ‣

    ࿦จͱ࿦จͷҾ༻ؔ܎ ‣ ༑ਓؔ܎ 6 ϊʔυ ϊʔυ Τοδ ۭखΫϥϒͷ ༑ਓؔ܎ωοτϫʔΫ ϊʔυ෦һ Τοδަ༑ؔ܎ ৭ॴଐ೿ൊʢ෦௕೿ࢣൣ೿ʣ
  3. !LPNP@GS $07*%ؔ࿈ͷ࿦จωοτϫʔΫ ‣ $03%ʢ$07*%0QFO3FTFBSDI%BUBTFU$IBMMFOHFʣ ‣ $07*%ؔ࿈࿦จΛͷτϐοΫʹ෼ྨ͠Ҿ༻ؔ܎Λදࣔ ‣ 7 ৭࿦จͷτϐοΫ ϊʔυαΠζඃҾ༻਺

    දࣔର৅ͱͳΔ ඃҾ༻਺ͷ࠷খ஋ ެ։ઌͷδϟʔφϧ Τοδͷදࣔɾඇදࣔ ੾ସ IUUQTEBTIHBMMFSZQMPUMZIPTUEBTIDZUPTDBQFMEB
  4. !LPNP@GS ωοτϫʔΫՄࢹԽͷجຊ ‣ ߏ੒ཁૉʢϊʔυͱΤοδʣ ‣ ʮԿͱԿ͕ؔ܎͋Δ͔ʯΛࣔ͢ߏ଄ ‣ Կͷϊʔυ͕͋Δ͔ɺͲͷϊʔυಉ࢜ʹΤοδ͕ுΒΕ͍ͯΔ͔ ‣ ελΠϧʢେ͖͞ɺ৭ɺܗঢ়ͳͲʣ

    ‣ ͨ͘͞Μͷ࿦จ͔ΒҾ༻͞Ε͍ͯͨΒେ͖͘͢Δ ‣ ࿦จͷΧςΰϦ͝ͱʹ৭Λม͑Δ ‣ Ҿ༻ճ਺͕ଟ͍΄ͲΤοδΛଠ͘͢Δ ‣ ϊʔυͷ഑ஔ ‣ ෺ཧతͳҐஔͱϊʔυͷ഑ஔΛҰகͤ͞Δ ‣ Ӻ΍ۭߓͷަ௨ωοτϫʔΫͳͲ ‣ ͹ͶྗֶΛ༻͍ͯɺࢹೝੑ͕ߴ͍Α͏ʹ഑ஔ͢Δ 9
  5. !LPNP@GS ωοτϫʔΫՄࢹԽΛΠϯλϥΫςΟϒʹߦ͏ར఺ 10 ‣ ϊʔυͷ਺͕૿͑Δͱɺ੩ࢭըͰ͸ݶք͕͋Δ ‣ ϊʔυΛΫϦοΫͯ͠ɺྡ઀͢ΔϊʔυΛڧௐ͢Δ ‣ ϊʔυΛಈ͔ͯ͠ߏ଄Λ೺Ѳ͠΍͘͢͢Δ ‣

    ֦େɾॖখͰશମͱ෦෼Λߦ͖དྷ͢Δ ‣ 6*Λ࢖ͬͯɺදࣔ͢Δϊʔυ΍ ഑ஔɾελΠϧΛมߋ͢Δ ‣ ͳͲ ‣ ʮབྷ·ͬͨڊେͳໟۄʯ໰୊ ‣ ϊʔυ͕ଟ͗ͯ͢ Կͷ͜ͱ͔Θ͔Βͳ͍ঢ়ଶͷ ωοτϫʔΫ
  6. !LPNP@GS 1ZUIPOͰωοτϫʔΫՄࢹԽΛߦ͏ํ๏ ‣ /FUXPSL9 ‣ ෳࡶωοτϫʔΫͷͨΊͷύοέʔδɻωοτϫʔΫߏ଄ͷߏங΍ม׵ɺ෼ੳɺϊʔυͷ഑ஔΞϧΰϦζϜͳͲɻ ‣ ՄࢹԽ෦෼͸NBUQMPUMJCʹґଘʢ੩ࢭը૾ͷΈʣ ‣ #PLFI

    ‣ /FUXPSL9ͱͷ࿈ܞ͕εϜʔζɻϗόʔʹΑΔৄࡉද͕ࣔՄɻ+VQZUFSʹ΋ग़ྗՄɻ )5.-Ͱग़ྗͰ͖ΔͷͰαʔόϨεͰಈ͔͍ͨ͠ͱ͖͸ศརɻ ‣ ༗޲άϥϑʹ͸ະରԠɻίʔϧόοΫͷఆ͕ٛͪΐͬͱେมɻ ‣ TUSFBNMJUBHSBQI ‣ 4USFBNMJUͷ௥Ճίϯϙʔωϯτ ‣ 4USFBNMJUΠϯλϥΫςΟϒͳάϥϑΛ૊ΈࠐΜͩ8FCΞϓϦΛ࡞ΕΔϑϨʔϜϫʔΫɻϓϩτλΠϓ޲͖ɻ ‣ SFBDUEHSBQIʹґଘ ‣ ʹϦϦʔε͞Εɺ·ͩ৘ใ͕গͳ͍ʢ(JU)VCͷTUBS਺΋ʣ ‣ %BTI$ZUPTDBQF ‣ %BTIͷ௥Ճίϯϙʔωϯτ ‣ %BTIΠϯλϥΫςΟϒͳάϥϑΛ૊ΈࠐΜͩ8FCΞϓϦΛ࡞ΕΔϑϨʔϜϫʔΫ ‣ $ZUPTDBQFKTʹґଘɻ$ZUPTDBQFKTͷػೳΛར༻Ͱ͖Δɻ༗޲άϥϑʹ΋ରԠɻ 11 ΠϯλϥΫςΟϒͳՄࢹԽ
  7. !LPNP@GS %BTI$ZUPTDBQFͷಛ௃ ‣ ωοτϫʔΫՄࢹԽΛߦ͏ͨΊͷ%BTIͷίϯϙʔωϯτ ‣ (JU)VCIUUQTHJUIVCDPNQMPUMZEBTIDZUPTDBQF ‣ %BTIΠϯλϥΫςΟϒͳάϥϑΛ૊ΈࠐΜͩ8FCΞϓϦΛ࡞ΕΔϑϨʔϜ ϫʔΫ ‣

    %BTIͷΪϟϥϦʔIUUQTEBTIHBMMFSZQMPUMZIPTU1PSUBM ‣ $ZUPTDBQFKTͷϥούͰ͋ΔͨΊɺ$ZUPTDBQFKTͷػೳͷҰ෦ʢϊʔυͷ഑ஔ ΞϧΰϦζϜͳͲʣΛར༻Ͱ͖Δ ‣ $ZUPTDBQF ωοτϫʔΫͷՄࢹԽͱ෼ੳ͕ ߦ͑Δ044ͷ ϓϥοτϑΥʔϜ 12
  8. !LPNP@GS ൃදதʹ঺հͨ͠αΠτͷ63- w %BTI$ZUPTDBQFؔ࿈ w %BTI(BMMFSZ w IUUQTEBTIHBMMFSZQMPUMZIPTU1PSUBM w 1MPUMZEBTIDZUPTDBQFEFNP$03%-%"BOBMZTJTPVUQVU

    w IUUQTEBTIHBMMFSZQMPUMZIPTUEBTIDZUPTDBQFMEB w %BTI$ZUPTDBQF (JU)VC  w IUUQTHJUIVCDPNQMPUMZEBTIDZUPTDBQF w %BTI$ZUPTDBQFެࣜυΩϡϝϯτ w IUUQTEBTIQMPUMZDPNDZUPTDBQF 17
  9. !LPNP@GS ൃදதʹ঺հͨ͠αΠτͷ63- w #PLFIؔ࿈ w #PLFI(BMMFSZ w IUUQTEPDTCPLFIPSHFOMBUFTUEPDTHBMMFSZIUNM w #PLFIʹΑΔωοτϫʔΫՄࢹԽ

    w IUUQTEPDTCPLFIPSHFOMBUFTUEPDTVTFS@HVJEF HSBQIIUNM w 1&1.BQ #PLFIʹΑΔ1&1ωοτϫʔΫͷՄࢹԽ  w IUUQTLPNPGSHJUIVCJPQFQ@NBQ@TJUFOFUXPSLIUNM 18
  10. !LPNP@GS ൃදதʹ঺հͨ͠αΠτͷ63- w 4USFBNMJUؔ࿈ w 4USFBNMJU(BMMFSZ w IUUQTTUSFBNMJUJPHBMMFSZ w 4USFBNMJU"HSBQIͷσϞ

    w IUUQTTIBSFTUSFBNMJUJPDISJTDISPTTJOTQJSBUJPOBMT NBJONBJOQZ 19 w ͦͷଞ w /FUXPSL3FQPTJUPSZ ωοτϫʔΫσʔλ৭ʑ  w IUUQOFUXPSLSFQPTJUPSZDPN