Sequence(Double[] p, Integer L)

Create one sequence given the length and the probability distribution over each state.

Parameters

  • Double[] p - the probability distribution over integer states 1 to K.
  • Integer L - length of the alignment

Return type

SimpleAlignment

Examples

  • rootSeq.lphy