How to handle improvement when selling a rental property.

I installed a new roof-$6,000 and a new flooring-$4,000 for my rental property. These two improvements were marked as assets for the depreciation purpose over the years. I sold this rental house in 2018, can I add the original costs of two improvements, $6,000  and $4,000 to the cost basis of my home when calculating the capital gain?