Yes for those animals, but chickens definitely have genetically determined sexes. Males have ZZ sex chromosomes, females have ZW. We know the chromosomes determine sexes because of all the sexlinks that people are breeding: it ONLY works if the chickens inherit certain genes (Z chromosome)...
With only 4, that is well within the range of what can happen from a completely normal hen.
Do you still have her? Maybe hatch some more of her eggs? Or try a DNA sex test?
There is about a 1 in 8 chance of getting 4 chicks that are the same sex as each other, so a 1 in 16 chance of getting...
How could the chromosome change after the egg is laid?
If the egg has chromosomes ZZ (male), I see no possible way for it to make a W chromosome out of nothing. You can't just mess with Z and end up with a W that works right.
If the egg has chromosomes ZW (female), I suppose it might be...
There is no way temperature is going to change the genes in the chick.
So are you testing whether the hen gives different chromosomes before she lays the egg?
Or are you testing whether you can get a chick with the correct genes for one gender, and the appearance and physical traits of the...