In geomantic omen, funeral homes, cemeteries and other places are regarded as places with heavy yin. If the house is too close to these places, it may affect the gas field of the house and the fortune of the occupants. But this statement has no scientific basis, but an idea in Feng Shui.
Generally speaking, whether it is affected or not depends on personal feelings and psychological state. If you feel uneasy or uncomfortable, you can try to relieve discomfort through psychological adjustment or changing your living habits. If you can't relieve the discomfort, you can also consider moving out of here.