A protocol for reproducible functional diversity analyses