copySites function
copySites(Integer[] ids, Alignment alignment)
Create a new alignment by copying sites from the original alignment. The sites can be duplicated. Use other function to sample or manipulate the site indices.
Parameters
- Integer[] ids - the array of site indices (start from 0) of the original alignment.
- Alignment alignment - the original alignment.