An object of class tbl_df containing sequence metadata.
hap_tbl
Output from haplotype_tbl.
labels
Column name which contains sequence names.
cols
A character vector of variables to collapse.
Author
Pedro S. Bittencourt, Rupert A. Collins.
Details
collapse_others() is a helper function to summarise metadata along with
haplotype_tbl. For any given cols, collapse_others() flattens its content
by unique haplotypes and its duplicates in hap_tbl.