I want to plot a graph using ggplot2 of GeneX expression (y-axis) against Order (x-axis) with a regression line that matches the colour of the Group (Categorical) for each value of Order. I.e. it will have multiple colors that match the Group that corresponds to the Order number.
I have a dataset with GeneX expression, and each unique entry has one unique Order number attached to it (1 to 5456). Each entry has only one Order number from 1:5456, and each Order number only corresponds to one of 6 Groups. A 100 entry sample is shown below

A scatter plot with the points coloured by one of 6 "Groups", which are different segments of vessels (Artery, Vein, etc.) is shown (Code Below):

library(ggplot2)
ggplot(data = test.data, aes(x = Order, y = GeneX, color=Group)) + geom_point()
Now I want to add a regression line using geom_smooth(), however I want the line to have multiple colors that match the group that corresponds to each Order number. Example below

I can get a regression line with geom_smooth() but it's only one color across all values of Order (Code Below):

ggplot(data = test.data, aes(x = Order, y = GeneX)) + geom_point() + geom_smooth()

