Dimensions

This command is used in a data block to define the number of taxa and characters. The correct usage is

dimensions ntax=<number> nchar=<number>

The dimensions must be the first command in a data block. The following provides an example of the proper use of this command:

begin data;
   dimensions ntax=4 nchar=10;
   format datatype=dna;
   matrix
   taxon_1 AACGATTCGT
   taxon_2 AAGGATTCCA
   taxon_3 AACGACTCCT
   taxon_4 AAGGATTCCT
   ;
end;

Here, the dimensions command tells MrBayes to expect a matrix with four taxa and 10 characters.

Return to Help Menu.