This is a helper function to process the binary or ternary matrix. Because gene data is interpolated from the bin data, linked loci within a bin will be duplicated. Duplicate frequencies create infinite combinations in the trees in infSCITE.
binary incidence matrix or G genotype matrix. Internally, both Z or G will be turned into a Z matrics for frequency calculations.
This function checks if two rows have are identical and merges them into one. It also creates unique rownames to know what was de-duplicated
returns a de-duplicated incidence or ternary matrix with rownams naving the multipe duplicated rows
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.