Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Usage

 

SummarizeNetworks networks mode [-n] [-o]



networksComma delimited list of networks to summarize.mandatory

mode

a A number in {1,2,3,4,5}.

1: displayed trees.

2: backbone networks.

3: tree decomposition.

4: tripartition.

5: major trees. If the input networks only contain topologies without inheritance probabilities, the user should not use this mode.

mandatory

-nif If specified, normalize input networks proportion, make their summation to be 1. Default value is false, which means no normalization.optional

-o outputFile

if If specified, the output file is outputFile. The default outputFile is SummarizeNetworks.txt under the user's directory.

optional

Examples

Input networks have proportions.

Download: wheatExample.nex

Please don't copy and paste, since some illegal characters might be copied.

Code Block
htmllang
languagevb
#NEXUS
 
BEGIN NETWORKS;
 
Network net1=[&W 0.33]((((Ash,(At,TaD)))X#H1,Y#H2),((((Asp,TaB),X#H1),((TaA,Tu),Tm)))Y#H2); 
Network net2=[&W 0.33]((((Ash,(At,TaD)))X#H1,((Asp,TaB),((((TaA,Tu),Tm),X#H1))Y#H2)),Y#H2);
Network net3=[&W 0.2]((((((Ash,(At,TaD)))X#H1,((Asp,TaB))Y#H2),((TaA,Tu),Tm)),X#H1),Y#H2);
Network net4=[&W 0.07]((((((Ash,(At,TaD)))X#H1,((Asp,TaB))Y#H2),((TaA,Tu),Tm)),Y#H2),X#H1);
Network net5=[&W 0.05]((((Ash,(At,TaD)))X#H1,((Asp,TaB))Y#H2),(((TaA,Tu),Tm),(X#H1,Y#H2)));
END;
BEGIN PHYLONET;
 
SummarizeNetworks (net1,net2,net3,net4,net5) 2 -n;
 
END;

 

...