In the official documentation, about TWRP :
- Go back to return to main menu, then tap Wipe.
- Now tap Format Data and continue with the formatting process. This will remove encryption as well as delete all files stored on the internal storage.
Missing step : reboot to recovery
- Return to the previous menu and tap Advanced Wipe.
- Select the Cache and System partitions to be wiped and then Swipe to Wipe.
You already have TWRP installed, so in my how to, Go directly to step 7) or 8)