You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need a scheme to translate names to emojjy, but with a suitable phylogeny framework in Python should be straight forward from there onwards
e.g. using ete3
from ete3 import Tree
import pyemojify
t = Tree("((Human,Gorilla),(Mouse,Rat));")
test_emoji = [":man:",":monkey:",":mouse:",":rat:"]
for c, leaf in enumerate(t):
leaf.name = test_emoji[c]
leaf.name = pyemojify.emojify(leaf.name)
print( t.get_tree_root())
will give
/-👨
/-|
| \-🐒
--|
| /-🐭
\-|
\-🐀
The text was updated successfully, but these errors were encountered:
Need a scheme to translate names to emojjy, but with a suitable phylogeny framework in Python should be straight forward from there onwards
e.g. using ete3
will give
The text was updated successfully, but these errors were encountered: