Transformation of igneous rock into sedimentary rock