PCG
PCG copied to clipboard
Reimplement character sequences into a character matrix.
Currently character sequences are stored on the nodes of the phylogenetic forest. This make column-wise analysis unwieldy. We should instead store the character sequences as rows in a "character matrix" which is separate from the graph topology. This will make column-wise operations (required for network analysis and metadata summaries) more efficient and less unwieldy. Will also make extracting single characters from the phylogenetic forest much easier.
The representation will likely be Vector (Character Sequence u v w x y z)
, with the vector indices corresponding to the indices of the reference vector of the topological representation.