| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Bioinformatics Toolbox |
| Contents | Index |
| Learn more about Bioinformatics Toolbox |
NodesHandles =
getnodesbyid(BGobj,NodeIDs)
BGobj | Biograph object. |
NodeIDs | Enter a cell string of node identifications. |
NodesHandles = getnodesbyid(BGobj,NodeIDs) gets the handles for the specified nodes (NodeIDs) in a biograph object.
Create a biograph object.
species = {'Homosapiens','Pan','Gorilla','Pongo','Baboon',...
'Macaca','Gibbon'};
cm = magic(7)>25 & 1-eye(7);
bg = biograph(cm, species)
Find the handles to members of the Cercopithecidae family and members of the Hominidae family.
Cercopithecidae = {'Macaca','Baboon'};
Hominidae = {'Homosapiens','Pan','Gorilla','Pongo'};
CercopithecidaeNodes = getnodesbyid(bg,Cercopithecidae);
HominidaeNodes = getnodesbyid(bg,Hominidae);Color the families differently and draw a graph.
Bioinformatics Toolbox function: biograph (object constructor)
Bioinformatics Toolbox object: biograph object
Bioinformatics Toolbox methods of a biograph object: dolayout, get, getancestors, getdescendants, getedgesbynodeid, getnodesbyid, getrelatives, set, view
![]() | getnewickstr (phytree) | getpdb | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |