Wiles will continue to work "virtually full time at the White House" while undergoing treatment, the US president said.