Office Deduction of rental property

I have a rental home that I'm using part of it as my office while the other part of the home is rented out.  How is the tax deduction handled in this situatiion since it is not my primary home.