I am building a markov chain model from different transition matrices; some of my matrices are singular and its inverse cannot be retrieved. I am wondering if there is any igraph method to import my transition matrix and to transform it into a subgraph that is invertible.