Seol mar théacs é seo: Inference on Markov random fields: methods and applications