Commands/nstates
From TNT
NSTATES
Version: 1.1.
Menu path: to do.
Nstates
N set maximum number of states in matrices to be subsquently read to N
Maximum number allowed for discrete data is 32 states.
Letters A-J are states 10-31.
Using the strings "DNA," "PROT," or "NUM," determines
whether data are read as dna, amino-acids, or alpha-numeric. The
string NUM must be followed by the number of states; DNA or PROT
automatically set number of states to 8 or 32. Under DNA or PROT,
IUPAC one-letter codes represent nucleotides or amino-acids.
For DNA, AGCT are states 0123 respectively; for proteins,
A,C,D,E,F,G,H,I,K,L,M,N,P,Q,R,S,T,V,W,Y,U are states 0-20.
* resets all characters as alphanumeric; subsequent
merging of data sets with different data sets becomes easier if all
data sets are saved as alpha-numeric
min deletes uninformative states for non-additive characters, so that
each character has as few distinct states as possible
/ followed by the strings "DNA," "PROT," or "NUM," determines
how to read states in commands that refer to states (i.e. cost, or
change commands). This does not alter the matrix itself.
Example: Set your data matrix as DNA with 8 states.
nstates dna;