In a large bowl whisk together the egg, oil and milk. Add flour, oats, and sugar. Stir the mixture until it is just combined. Fold in the onion, cheese, and pecans. Spoon mixture onto buttered muffin tins, and bake in preheated 400 degree oven for 15 to 20 minutes, or until golden. Turn the muffins out onto racks.