Text this: A statistically rigorous method for determining antigenic switching networks