There was another William Ryan baptised in Kilcolman on 23/7/1837 with same parents John and Ellen. It was common back then, if a child died, to baptise another child with the same name. So it is likely that the 1st William died. There were 2 different John Ryans in the 1821 census living in this parish, one aged 23 and the other was aged 26, Their ages would tie in with the date of marriage of John in 1831.
Volunteer Ireland XO Kilcolman