Package: coloc 6.0.1

coloc: Colocalisation Tests of Two Genetic Traits

Performs the colocalisation tests described in Giambartolomei et al (2013) <doi:10.1371/journal.pgen.1004383>, Wallace (2020) <doi:10.1371/journal.pgen.1008720>, Wallace (2021) <doi:10.1371/journal.pgen.1009440>, Pullin and Wallace (2025) <doi:10.1101/2024.08.21.608957>.

Authors:Chris Wallace [aut, cre], Claudia Giambartolomei [aut], Vincent Plagnol [ctb], Tom Willis [aut], Jeffrey Pullin [aut]

coloc_6.0.1.tar.gz
coloc_6.0.1.zip(r-4.7)coloc_6.0.1.zip(r-4.6)coloc_6.0.1.zip(r-4.5)
coloc_6.0.1.tgz(r-4.6-any)coloc_6.0.1.tgz(r-4.5-any)
coloc_6.0.1.tar.gz(r-4.7-any)coloc_6.0.1.tar.gz(r-4.6-any)
coloc_6.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
coloc/json (API)

# Install 'coloc' in R:
install.packages('coloc', repos = c('https://chr1swallace.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/chr1swallace/coloc/issues

Pkgdown/docs site:https://chr1swallace.github.io

Datasets:

On CRAN:

Conda:

12.86 score 201 stars 3 packages 1.5k scripts 3.5k downloads 49 mentions 22 exports 31 dependencies

Last updated from:50fe5291fe. Checks:7 WARNING, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64WARNING284
source / vignettesOK362
linux-release-x86_64WARNING328
macos-release-arm64WARNING199
macos-oldrel-arm64WARNING154
windows-develWARNING186
windows-releaseWARNING235
windows-oldrelWARNING200
wasm-releaseOK310

Exports:annotate_susiecheck_alignmentcheck_datasetcheck.alignmentcheck.datasetcoloc.abfcoloc.bf_bfcoloc.signalscoloc.susiecoloc.susie_bfcredible.setsfindendsfinemap.abffinemap.bffinemap.signalsplot_datasetplot_datasetsplot_extended_datasetsprocess.datasetrunsusiesensitivitysubset_dataset

Dependencies:clicpp11crayondata.tablefarverggplot2gluegridExtragtableirlbaisobandlabelinglatticelifecycleMatrixmatrixStatsmixsqpplyrR6RColorBrewerRcppRcppArmadilloreshaperlangS7scalessusieRvctrsviridisviridisLitewithr

Coloc: data structures
Data structures | First: select the SNPs to study. | A minimum coloc dataset | Analysing two datasets | What if I don't have sdY? | What if I don't have beta and/or varbeta? | Additional LD information for coloc.susie | NB studies from different populations | NB allele order matters!

Last update: 2025-11-19
Started: 2021-03-23

Coloc: using variant-specific priros in coloc
Variant-specific priors in coloc | Using general variant-specific information | An example of variant-specific information

Last update: 2025-03-27
Started: 2025-03-27

Coloc: a package for colocalisation analyses
A brief outline of colocalisation analysis | A single causal variant assumption | Sensitivity analysis | Deprecated: relaxing the single causal variant assumption through conditioning | An improved approach to relaxing the single causal variant assumption: SuSiE | Footnotes

Last update: 2023-05-12
Started: 2019-07-08

Coloc: using SuSiE to relax the single causal variant assumption
Multiple causal variants, using SuSiE to separate the signals | Important notes on running SuSiE

Last update: 2022-05-05
Started: 2021-03-22

DEPRECATED Coloc: relaxing the single causal variant assumption
Multiple causal variants

Last update: 2022-03-21
Started: 2019-07-08

Coloc: sensitivity to prior values
Sensitivity analysis

Last update: 2021-06-08
Started: 2019-07-08

Coloc: under a single causal variant assumption
Fine mapping under a single causal variant assumption | (Approximate) Bayes Factor colocalisation analyses | Introduction | The basic coloc.abf function

Last update: 2021-06-08
Started: 2019-07-08

Readme and manuals

Help Manual

Help pageTopics
Colocalisation tests of two genetic traits-package coloc-package
annotate susie_rss output for use with coloc_susieannotate_susie
Internal function, approx.bf.estimatesapprox.bf.estimates
Internal function, approx.bf.papprox.bf.p
binomial to linear regression conversionbin2lin
check alignmentcheck.alignment check_alignment
check_datasetcheck.dataset check_dataset
Simulated data to use in testing and vignettes in the coloc packagecoloc_test_data
Fully Bayesian colocalisation analysis using Bayes Factorscoloc.abf
Coloc data through Bayes factorscoloc.bf_bf
Bayesian colocalisation analysis with detailed outputcoloc.detail
Post process a coloc.details result using maskingcoloc.process
Coloc with multiple signals per traitcoloc.signals
run coloc using susie to detect separate signalscoloc.susie
run coloc using susie to detect separate signalscoloc.susie_bf
combine.abfcombine.abf
credible.setscredible.sets
eQTLGen estimated distance densityeqtlgen_density_data
generate conditional summary statsest_cond
estgeno1estgeno.1.cse estgeno.1.ctl
Pick out snp with most extreme Z scorefind.best.signal
trim a dataset to central peak(s)findends
trim a dataset to only peak(s)findpeaks
Bayesian finemapping analysisfinemap.abf
Finemap data through Bayes factorsfinemap.bf
Finemap multiple signals in a single datasetfinemap.signals
logbf 2 pplogbf_to_pp
logdifflogdiff
logsumlogsum
find the next most significant SNP, conditioning on a list of sigsnpsmap_cond
find the next most significant SNP, masking a list of sigsnpsmap_mask
plot a coloc datasetplot_dataset
plot a pair of coloc datasets, highlighting the snps that are common between themplot_datasets
Draw extended plot of summary statistics for two coloc datasetsplot_extended_datasets
plot a coloc_abf objectplot.coloc_abf
print.coloc_abfprint.coloc_abf
process.datasetprocess.dataset
Run susie on a single coloc-structured datasetrunsusie
Estimate trait variance, internal functionsdY.est
Prior sensitivity for colocsensitivity
subset_datasetsubset_dataset
Var.dataVar.data
Var.dataVar.data.cc