In my lab I need to test if there's an significance between male and female sexual dimorphism on body temperature over 40 minutes. The temperature is simulated with a heat lamp and is turned on at 0 minutes and stays the same for the duration of the experiment. I've done multiple trials, and for each trial there's 9 data points collected (temperature collected from male and female every 5 minutes). Is there a model I can fit in R, and a significance test (T-test?) that would fit best for my data? Should I do a permutation test?
(Green: Female, Blue: Male)