Get your taxes done using TurboTax

Am I right to assume if 5% of the house was rented and therefore depreciation on that 5% isn't eligible, that that would also be adjusted by how much time that 5% of the house was rented out versus used for living purposes by the owner?