Infers parameters of linked selection (background selection and selective sweeps) and constructs maps of its effects