All models

MethylNet

MethylNet embeds DNA methylation profiles with a VAE and fine-tunes the encoder for prediction.

Molecules, proteins and genomics · 23 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (32 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
40.3M
Operations
23
Framework
PyTorch
Recurrent
No
Published
BMC Bioinformatics 21, 2020
Cited by
125 (as of 24 October 2026)
Authors
Joshua J. Levy, Alexander J. Titus, Curtis L. Petersen and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m18434
Graph hash
f8522aac329807ad4cc147ab1a53548fe2849290835c12d433973a8c4c27a5bb
Skeleton hash
fd6d53d3cc5d702207c51a8d5acc35c15753c3e4087e6f57d6b044a608f407e4
Architecture hash
469c642da81c17f83272228ee68c839ffd4c73357a33078fac875ca7fdb3dbce
Diagram SHA-256
8217deb79ee719a5ceb6e5972d2f5b965f37635bc71b015a65f869e1f65633ea
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

MethylNet is a deep learning method for DNA methylation (DNAm) data that can construct embeddings, make predictions and generate new data with minimal user supervision. Its input is a matrix of beta values, the methylation measurements for each individual.

A variational autoencoder (VAE) is first pretrained to find an unsupervised latent representation of the data. The prediction step then applies transfer learning: it fine-tunes the encoding layers of the VAE while training a few appended hidden layers for classification, regression or multi-output regression. To find the CpG sites that matter for each prediction, the authors use the SHAP (SHapley Additive exPlanation) approach.

For age prediction, the paper reports a mean absolute error of 3.0 years on a hold-out test set of 144 individuals. For 32 cancer subtypes in the pan-cancer TCGA cohort, it reports 0.97 accuracy, 0.97 precision, 0.97 recall and 0.97 F1-score.

Key idea. MethylNet pretrains a variational autoencoder on DNA methylation data, then fine-tunes its encoder with a few appended hidden layers for classification, regression and multi-output regression.

  • methylnet
  • dna methylation
  • dnam
  • epigenetics
  • methylation deep learning
  • variational autoencoder
  • age prediction
  • cell-type deconvolution
  • pan-cancer classification
  • cpg

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{Levy_2020, title={MethylNet: an automated and modular deep learning approach for DNA methylation analysis}, volume={21}, ISSN={1471-2105}, url={http://dx.doi.org/10.1186/s12859-020-3443-8}, DOI={10.1186/s12859-020-3443-8}, number={1}, journal={BMC Bioinformatics}, publisher={Springer Science and Business Media LLC}, author={Levy, Joshua J. and Titus, Alexander J. and Petersen, Curtis L. and Chen, Youdinghuan and Salas, Lucas A. and Christensen, Brock C.}, year={2020}, month=Mar }