Skip to content

Contains code pipeline to generate PEER factors from pseudo-bulk data and perform eQTL association analysis

Notifications You must be signed in to change notification settings

anglixue/PEER_factors

Repository files navigation

PEER_factors

This repository contains the analysis code pipeline to generate PEER factors from pseudo-bulk data and perform eQTL association analysis as part of the manuscript "Pitfalls and opportunities for applying latent variables in single-cell eQTL analyses"

Scripts are listed by the order in the methods section of the manuscript:

  1. Extract the whole OneK1K dataset from *.RDS and subgroup into 14 cell types

  2. Generate the pseudo-bulk mean matrix

  3. Generate PEER factors with 13 QC options

    a. Extra information of runtime and nr of iterations

    b. Make new covariate files

  4. Run sensitivity test by MatrixeQTL

    a. Merge results

    b. Summarize and nr of eQTL and eGenes

  5. Down-sampling analysis

All code is also available on Github: https://github.com/powellgenomicslab/PEER_factors

Citation

Angli Xue, Seyhan Yazar, Drew Neavin, Joseph E. Powell. Pitfalls and opportunities for applying latent variables in single-cell eQTL analyses. Genome Biology. 2023. [Full text]

For questions, please email us at Angli Xue (a.xue@garvan.org.au) or Joseph E. Powell (j.powell@garvan.org.au)

About

Contains code pipeline to generate PEER factors from pseudo-bulk data and perform eQTL association analysis

Resources

Stars

Watchers

Forks

Packages

No packages published