This repository contains the code to reproduce the results and figures in the following manuscripts:
@article {Carilli2025.11.19.689125,
author = {Carilli, Maria and Jackson, Kayla and Pachter, Lior},
title = {The Rayleigh Quotient and Contrastive Principal Component Analysis I},
elocation-id = {2025.11.19.689125},
year = {2025},
doi = {10.1101/2025.11.19.689125},
publisher = {Cold Spring Harbor Laboratory},
URL = {https://www.biorxiv.org/content/early/2025/11/19/2025.11.19.689125},
journal = {bioRxiv}
}and
@article {Jackson2026Rayleigh,
author = {Jackson, Kayla and Carilli, Maria and Pachter, Lior},
title = {The Rayleigh Quotient and Contrastive Principal Component Analysis II},
elocation-id = {},
year = {2026},
doi = {},
publisher = {Cold Spring Harbor Laboratory},
URL = {},
journal = {bioRxiv}
}