Generate signatures

Tiago Maié

2025-11-28

CimpleG (Simple CpG signatures)

Installation

If you haven’t installed CimpleG, you can find the instructions to do so here. However it should be as simple as:

Loading package

We load the CimpleG package.

Loading data

In this tutorial, we will use a small dataset with just 409 samples and 1000 CpGs. We will also use a table with metadata regarding these samples. This dataset comes included with CimpleG. You can read more about it here: DOI.

Running CimpleG

Running CimpleG can be quite simple. You just need to run the CimpleG function with a few parameters.

Here we are generating signatures to find leukocytes and hepatocytes.

Plotting CimpleG CpG signature

We can quickly visualize how our signature is able to separate the data.