## Not run:
# #G is a gatinghierarchy
# #return the name of the parent of the fifth node in the hierarchy.
# getParent(G,getNodes(G[[1)[5])
# n<-getNodes(G,tsort=T)[4];
# getChildren(G,n);#Get the names of the child nodes of the 4th node in this gating hierarchy.
# getChildren(G,4);#Get the ids of the child nodes
# ## End(Not run)
Run the code above in your browser using DataLab