Find the optimal number of synteny blocks (i.e. k)

find_k(clust, mark_df, max_cluster_range)

Arguments

mark_df

dataframe, a dataframe of markers, e.g. the first element of a map_list object

max_cluster_range

numeric of length 1, the maximum genetic distance a single cluster of markers can span

Value

a numeri