Involved in de novo DNA methylation. Involved in RNA-directed DNA methylation (RdDM). Belongs to the class I-like SAM-binding methyltransferase superfamily. DRM-methyltransferase family. Lacks the conserved tripeptide Ser-Pro-Cys in position 405 necessary for the methyltransferase activity in DRM protein (AC Q9M548).