A transfer matrix method for resonances in Randall-Sundrum models II: the deformed case