complete_network
function, but it uses a fixed number of pathways to be investigated, which are divided in groups to allow restarting or better dispatching of tasks in a cluster environment.complete_restart(g1,g2,
taxnames,
resultfile='result.txt',
size=1000,
start=1,
end=0,
maxdistance=0,
maxtime=3600,
maxnode=0,
verbose=FALSE,
file='log.txt',
maxcores=1
)
maxnode
, maxtime
or maxdistance
, a path can also be classified as 'Detour or Dead End'.
The format of the resultfile
is as follow (tab-separated-value):
Columns:
1. Group number
2. Disconnected nodes
3. Shortcuts
4. Egals
5. Detours
6. Dead ends
7. Undefined detour or dead end*
8. Total path evaluated
9. User time (seconds)
10. System time (seconds)
11. Real time (seconds)
12. Disconnected total (up to this group)
13. Shortcut total (up to this group)
14. Egal total (up to this group)
15. Detour total (up to this group)
16. Dead end total (up to this group)
17. Undefined total (up to this group)
18. Total path evaluated (up to this group)
19. Total user time (up to this group)
20. Total system time (up to this group)
21. Total real time (up to this group)## Searching the sample data (containing 11 original nodes and 3 augmented nodes)
data(Sample_1)
## Run from group number 1 to 2
complete_restart(g1,g2,size=5, start=1,end=2)
Run the code above in your browser using DataLab