the food chains can allow circles/loop. This function will return all unique food chains that involved the focused species as a node , and the duplicated chains are deleted. It is recommended to use rather than the function 'pathways'.
standard square graph matrix
the species you want to search.
return a list showing all food chains by presenting each node in that chain. Also, the weights for each link will be returned as well.
Youhua Chen <email@example.com>
Chen Y (2012) loop: an R package for performing decomposition of weighted directed graphs, food web analysis and flexible network plotting. Submitted.