Four-body continuum-discretized coupled-channels calculations using a transformed harmonic oscillator basis