sites

fun sites(site: Int): NucMSA

Function to filter down a NucMSA at a single site. This will return another NucMSA


fun sites(siteRange: IntRange): NucMSA

Function to slice the NucMSA by siteRange. This will return another NucMSA and does support negative indices


fun sites(siteIndices: Collection<Int>): NucMSA

Function to filter out the NucMSA based on a collection of siteIndices This Collection will first be Sorted and Duplicates removed so the resulting NucMSA's NucSeqs will be in the correct order. Note: This will work with negative indices.


fun sites(filterLambda: (Int) -> Boolean): NucMSA

Function to filter the NucMSA sites using a lambda function. This will return another NucMSA object Note this will not work with negative indices