invariableSites function
invariableSites(Alignment alignment, Boolean ignoreUnknown)
Return the array of site indices (start from 0) at the given alignment, which are invariable sites.
Parameters
- Alignment alignment - the original alignment.
- Boolean ignoreUnknown - (optional) If true (as default), ignore the unknown state ‘?’ (incl. gap ‘-‘), when determine variable sites or constant sites.