Should this return an error instead? If the user is pass a number less than zero or greater than the number of taxa they are probably misunderstanding how to use the function, so it might make more sense to fail.