For what it's worth, I was curious about this tune and gooogled for more information about it and the Titanic. From what I can gather, the likely tune that would have been sung to those words depends on whether it was the melody favoured in the UK or in the US, but in fact neither of the tunes in use for the hymn at that time was the one used in the film.
Having said that, I find that particular tune has a haunting, folky quality, a bit like a Shaker hymn or something. In the "Titanic" film, most of which was complete dross, the only part that actually moved me was when the band played that tune while chaos raged around them. So well done you for adapting it for melodeon, which suits it very well.