loopQTL identifies SNPs associated with chromatin interaction signals across samples. It implements a band-wise joint normalization approach (referenced from Brant et al, Brief Bioinform, 2024) that systematically tests the association between variants and their anchored loops, together with downstream functions for annotation and visualization for the user’s convenience.
R 4.6 or a newer version is required.
On Ubuntu 24.04, successful installation required several additional packages. They can be installed by running the following command in a terminal:
sudo apt-get install r-base-dev libcurl4-openssl-dev libfreetype-dev \
libfribidi-dev libfontconfig-dev libharfbuzz-dev libtiff-dev \
libxml2-dev libssl-devNo dependencies other than R are required on macOS or Windows.
Two versions of the package are available.
To install the stable version from Bioconductor, start R and run:
## Install BiocManager, which is required to install packages from Bioconductor
if (!requireNamespace("BiocManager", quietly = TRUE)) {
install.packages("BiocManager")
}
BiocManager::install("loopQTL")The development version containing the most recent updates is available from our GitHub repository (https://github.com/rhielab/loopQTL).
To install the development version from GitHub, start R and run:
## Install prerequisite packages to install the development version from GitHub
if (!requireNamespace("BiocManager", quietly = TRUE)) {
install.packages("BiocManager")
}
if (!requireNamespace("remotes", quietly = TRUE)) {
install.packages("remotes")
}
BiocManager::install(version = "devel")
BiocManager::install("rhielab/loopQTL")loopQTLsetup - Validate the multi-sample VCF header and
per-sample .hic metadata, read per-sample loop BEDPEs, and
build the exact-coordinate consensus loop set kept in
loops(obj).loopQTLnormalize - Per-chromosome whole-genome straw
pull followed by band-wise quantile normalization across samples The
output is saved in phenotype(obj). Optionally caches
per-SNP contact-window matrices to a file for later visualization with
loopQTLplotSnpWindow() or
loopQTLnormalize().loopQTLchooseK - Runs PCA on the normalized phenotype
matrix and picks K via PCAForQTL’s method. This function returns the
chosen K and the corresponding sample PCs.runQTL - Tabix-reads anchor-window SNPs from the VCF,
runs MatrixEQTL to perform the loopQTL analysis. The output is saved in
results(obj).loopQTLpairData - Return the sample-level phenotype and
genotype for a single (loopID, snpID) pair - the row-level
view behind any per-pair downstream plot or custom test.loopQTLannotate - Adds gene,
peak (optional), and Type columns to
results(obj) using a GTF for TSS mapping and an optional
peak BED file for regulatory-element overlap.loopQTLplotPair - Generates boxplot of the loop’s
contact-strength phenotype grouped by the SNP’s dosage class (0/1/2),
for a specific SNP-loop pair.loopQTLplotLocus - Locus-level ggplot track combining
consensus loops, the tested SNP, and (optionally) gene annotations, over
a user-specified genomic region.loopQTLplotSnpWindow - Hi-C-style beta heatmap around a
chosen SNP: for every bin-pair in the SNP’s neighborhood, plots the
per-sample regression coefficient of phenotype on the SNP’s dosage.To begin, load loopQTL and any downstream plotting
deps.
loopQTLsetup: Validate inputs and build loopQTL
objectloopQTLsetup() is the entry point of the pipeline.
It:
minSamples samples will be dropped;.hic files when the samplesheet lacks a cis
column.The samplesheet is a tab-separated file with columns
Sample, hic, loops, and
optionally cis.
extdataDir <- system.file("extdata", package = "loopQTL")
vcfPath <- file.path(extdataDir, "example.vcf.gz")
samplesheetPath <- file.path(extdataDir, "example_samplesheet.tsv")
samples <- read.table(samplesheetPath, header = TRUE)
## Fix the input file paths to be absolute since we don't know what the working
## directory will be when the vignette is built. It is not necessary to do this
## during normal use of loopQTL if the working directory is set correctly.
samples$hic <- unlist(
lapply(samples$hic, function(x) {
file.path(extdataDir, x)
})
)
samples$loops <- unlist(
lapply(samples$loops, function(x) {
file.path(extdataDir, x)
})
)
## Display the format of the samplesheet
head(samples)
#> Sample
#> 1 sample1
#> 2 sample2
#> 3 sample3
#> 4 sample4
#> 5 sample5
#> 6 sample6
#> hic
#> 1 /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_hic/sample1.hic
#> 2 /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_hic/sample2.hic
#> 3 /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_hic/sample3.hic
#> 4 /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_hic/sample4.hic
#> 5 /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_hic/sample5.hic
#> 6 /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_hic/sample6.hic
#> loops
#> 1 /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_loops/sample1_loops.bedpe
#> 2 /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_loops/sample2_loops.bedpe
#> 3 /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_loops/sample3_loops.bedpe
#> 4 /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_loops/sample4_loops.bedpe
#> 5 /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_loops/sample5_loops.bedpe
#> 6 /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_loops/sample6_loops.bedpe## Run loopQTLsetup
obj <- loopQTLsetup(
samples = samples,
vcf = vcfPath,
resolution = 5000,
minSamples = 2
)
#> Proceeding with 10 sample(s) present in both samplesheet and VCF.
#> exact-coord consensus across 10 samples ...
#> 61 unique loop tuples; 42 survive minSamples = 2
#> computing cis depth from .hic files (no `cis` column in samplesheet; 1 chroms x 10 samples) ...
obj
#> loopQTL object:
#> samples : 10 ( sample1, sample2, sample3, sample4 , ... )
#> loops : 42 consensus intra-chromosomal loops
#> resolution: 5000 bp
#> phenotype : not yet computed
#> results : not yet computed
#> meta :
#> resolution = 5000
#> minSamples = 2
#> n_trans_dropped = 0
#> n_trans_per_sample = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
#> cisSource = computed_from_hic
#> cis_chroms_in = chr2
#> normalization = NONE
#> hicPaths = /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_hic/sample1.hic, /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_hic/sample2.hic, /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_hic/sample3.hic, /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_hic/sample4.hic, /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_hic/sample5.hic, /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_hic/sample6.hic, /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_hic/sample7.hic, /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_hic/sample8.hic, /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_hic/sample9.hic, /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_hic/sample10.hicloopQTLnormalize: Cross-normalization on Hi-C
signalloopQTLnormalize() normalizes contact strength across
samples so that per-loop phenotypes are directly comparable. For each
chromosome it pulls the whole-genome straw matrix per sample, log-CPM
adjusts, then does band-wise quantile normalization across samples per
genomic-distance band. Normalized values at the consensus-loop bin-pairs
are written to phenotype(obj). Parallelizes per chromosome
via BiocParallel.
Set saveWindows = TRUE to additionally output a per-SNP
contact-window matrix as .rds file. This file is needed by
loopQTLplotSnpWindow() downstream. Please note that this
option does not change phenotype(obj) or affect the
runQTL() step.
## Get the path to a temporary directory in which to save the output interact
## file
tempDirectory <- tempdir()
obj <- loopQTLnormalize(
obj,
BPPARAM = BiocParallel::MulticoreParam(workers = 2),
saveWindows = TRUE,
windowsOut = file.path(tempDirectory, "loop_snp_windows.rds"),
window = 2000000,
snpWindow = 10000
)
#> saveWindows: tabix-reading SNPs at 4 anchor regions (snpWindow = 10000 bp) ...
#> saveWindows: 71 SNP(s), 81804 unique cells across 1 chrom(s); estimated ~6.2 MB in memory (8 bytes x cells x samples)
#> saveWindows: wrote /tmp/RtmpqK1MLY/loop_snp_windows.rds (0.3 MB)
head(phenotype(obj)[, 1:5])
#> sample1 sample2 sample3 sample4 sample5
#> [1,] 5.021847 4.500255 4.944448 5.070365 5.070365
#> [2,] 5.242241 5.123551 5.242241 5.242241 4.523924
#> [3,] 4.160612 5.028644 5.304270 5.236119 5.098306
#> [4,] 4.738737 4.788613 5.341398 4.357671 5.341398
#> [5,] 5.201379 4.284991 5.045751 5.201379 4.406263
#> [6,] 5.252329 4.495125 5.123471 5.252329 5.187900loopQTLchooseK: Auto-select the number of PCs for
covariatesloopQTLchooseK() runs PCA on the normalized phenotype
matrix and picks a number of principal components K to use as covariates
in the downstream regression. This function returns a list with the
chosen K and the sample × K matrix of PCs.
Kres <- loopQTLchooseK(obj, Kmethod = "elbow", Kmax = 2)
message("PCAForQTL chose K = ", Kres$K, " via ", Kres$method)
#> PCAForQTL chose K = 2 via elbow
head(Kres$PCs)
#> PC1 PC2
#> sample1 -0.7270195 4.7175652
#> sample2 -4.4848556 -0.6026620
#> sample3 3.3627478 0.8421677
#> sample4 1.0506028 -0.7010498
#> sample5 -1.5184813 -1.9059932
#> sample6 -2.2550144 -0.8596590runQTL: Anchor-restricted association testingrunQTL() reads all anchor-window SNPs from the VCF in a
single targeted tabix pass, converts them to dosages (0/1/2), and runs
MatrixEQTL twice - once treating anchor A as the gene position, once
anchor B. The two result tables are outer-joined on SNP-loop level.
Covariates are supplied via the covariates argument -
typically the phenotype PCs chosen in the previous step. RINT is applied
per loop before regression by default.
obj <- runQTL(
obj,
window = 10000,
covariates = Kres$PCs
)
#> 42 of 42 genes matched
#> 71 of 71 SNPs matched
#> No significant associations were found.
#> 4
#> 42 of 42 genes matched
#> 71 of 71 SNPs matched
#> 100.00% done, 1,118 cis-eQTLs
head(results(obj))
#> loopID snpID chrom pos ref alt anchor
#> 1 L0000037_chr2_172207000_172457000 rs12052253 chr2 172449985 A T B
#> 2 L0000024_chr2_172182000_172457000 rs12052253 chr2 172449985 A T B
#> 3 L0000034_chr2_172202000_172457000 rs12052253 chr2 172449985 A T B
#> 4 L0000019_chr2_172177000_172457000 rs12052253 chr2 172449985 A T B
#> 5 L0000027_chr2_172192000_172442000 rs12052253 chr2 172449985 A T B
#> 6 L0000003_chr2_172162000_172457000 rs12052253 chr2 172449985 A T B
#> beta se t p nUsed maf
#> 1 0.9630377 0.1558143 6.1806761 0.0008250246 10 0.35
#> 2 -0.1954824 0.4400886 -0.4441888 0.6724780547 10 0.35
#> 3 -0.2037947 0.5197385 -0.3921101 0.7085260802 10 0.35
#> 4 0.5902627 0.1457843 4.0488771 0.0067346806 10 0.35
#> 5 0.6297019 0.3997969 1.5750545 0.1663120521 10 0.35
#> 6 -0.1142359 0.2906699 -0.3930091 0.7078963378 10 0.35loopQTLpairData: Sample-level view of one loop × SNP
pairloopQTLpairData() returns the per-sample phenotype and
genotype (dosage 0/1/2) for a single SNP-loop pair. Useful for
inspecting a specific hit or exporting sample-level values for
reporting.
pair <- loopQTLpairData(
obj,
loopID = "L0000037_chr2_172207000_172457000",
snpID = "rs12052253"
)
head(pair)
#> sample loopID snpID genotype phenotype
#> 1 sample1 L0000037_chr2_172207000_172457000 rs12052253 0 0.3853205
#> 2 sample2 L0000037_chr2_172207000_172457000 rs12052253 2 1.0364334
#> 3 sample3 L0000037_chr2_172207000_172457000 rs12052253 0 -0.3853205
#> 4 sample4 L0000037_chr2_172207000_172457000 rs12052253 1 -0.1256613
#> 5 sample5 L0000037_chr2_172207000_172457000 rs12052253 0 -0.6744898
#> 6 sample6 L0000037_chr2_172207000_172457000 rs12052253 2 1.0364334
#> cis
#> 1 93041
#> 2 92442
#> 3 93079
#> 4 94024
#> 5 93441
#> 6 93554loopQTLannotate: Annotate results with target genes and
regulatory peaksloopQTLannotate() adds three columns to
results(obj):
gene - comma-separated gene names
whose TSS (± TSSwindow) sits in the SNP’s partner
anchor.peak - logical: does the SNP overlap
any peak from the user-supplied peak file . If the distal TSS peaks are
preferred, then you can set `removeTSS = TRUE``.Type - annotation of each SNP-loop
pair such as WithinTSS, rs-gene,
rs-<peakAnnotation>, rs-O,
rs(<peakAnnotation>)-gene, or
rs(<peakAnnotation>)-<peakAnnotation>
summarizing the SNP–loop types.peaksPath <- system.file(
"extdata", "example_annotation.bed",
package = "loopQTL"
)
gtfPath <- system.file("extdata", "example.gtf.gz", package = "loopQTL")
obj <- loopQTLannotate(
obj,
peak = peaksPath,
peakAnnotation = "Enhancer",
TSSwindow = 2000,
removeTSS = TRUE,
gtf = gtfPath
)
#> reading GTF: /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example.gtf.gz
#> 38 gene TSS regions (±2000 bp)
#> reading peaks: /tmp/Rtmp7QoCRT/Rinst127f7358f7ba/loopQTL/extdata/example_annotation.bed
#> dropped 14 peaks overlapping TSS regions; 2110 peaks retained for SNP overlap.
head(results(obj))
#> loopID snpID chrom pos ref alt anchor
#> 1 L0000037_chr2_172207000_172457000 rs12052253 chr2 172449985 A T B
#> 2 L0000024_chr2_172182000_172457000 rs12052253 chr2 172449985 A T B
#> 3 L0000034_chr2_172202000_172457000 rs12052253 chr2 172449985 A T B
#> 4 L0000019_chr2_172177000_172457000 rs12052253 chr2 172449985 A T B
#> 5 L0000027_chr2_172192000_172442000 rs12052253 chr2 172449985 A T B
#> 6 L0000003_chr2_172162000_172457000 rs12052253 chr2 172449985 A T B
#> beta se t p nUsed maf gene peak Type
#> 1 0.9630377 0.1558143 6.1806761 0.0008250246 10 0.35 FALSE rs-O
#> 2 -0.1954824 0.4400886 -0.4441888 0.6724780547 10 0.35 FALSE rs-O
#> 3 -0.2037947 0.5197385 -0.3921101 0.7085260802 10 0.35 FALSE rs-O
#> 4 0.5902627 0.1457843 4.0488771 0.0067346806 10 0.35 FALSE rs-O
#> 5 0.6297019 0.3997969 1.5750545 0.1663120521 10 0.35 FALSE rs-O
#> 6 -0.1142359 0.2906699 -0.3930091 0.7078963378 10 0.35 FALSE rs-OloopQTLplotPair: Boxplot of loop strength by SNP
dosageloopQTLplotPair() renders the per-sample boxplot behind
a chosen result SNP-loop pair. Please note that the plot is a ggplot
object that you can save with ggsave().
loopQTLplotLocus: Locus-level track view of loops,
SNPs, and genesloopQTLplotLocus() renders a locus-scale ggplot
combining the consensus loops, the tested SNP, and (when a GTF is
supplied) gene annotations, over a user-specified region. Please note
that to sse values = "cpm" or values = "raw"
to show per-loop contact strength, you need to set
saveWindows = TRUE to save the per-SNP contact-window
matrices from loopQTLnormalize.
gtfPath <- system.file("extdata", "example.gtf.gz", package = "loopQTL")
p <- loopQTLplotLocus(
obj,
chrom = "chr2",
start = 172100000,
end = 172550000,
snpID = "rs12052253",
values = "cpm",
gtf = gtfPath
)
ploopQTLplotSnpWindow: Hi-C-style beta heatmap around a
SNPloopQTLplotSnpWindow() renders a Hi-C-style heatmap
centered on a chosen SNP: for every bin-pair in the SNP’s cached contact
window (from loopQTLnormalize(saveWindows = TRUE)), the
color encodes the per-sample regression coefficient (beta) of the
bin-pair’s contact strength on the SNP’s dosage. Set
normal = TRUE and covariates = "auto" to match
the model used in runQTL().
p <- loopQTLplotSnpWindow(
obj,
chrom = "chr2",
start = 172100000,
end = 172550000,
snpID = "rs12052253",
normal = TRUE,
covariates = "auto",
Kmax = 2
)
## Delete the output file, since this is just an example.
## Do not use this line if running on real data, as it will delete your created
## file.
invisible(file.remove(metadata(obj)$windowsOut))
ploopQTL is designed to plug into the standard
Bioconductor data structures for genomic ranges and interactions, so
that loops, SNPs, and QTL results can be composed with tools from
GenomicRanges, InteractionSet,
SummarizedExperiment, rtracklayer, and
VariantAnnotation without any intermediate format
conversion. See below example usuage.
loops(obj) is a GInteractionsgi <- loops(obj)
class(gi)
#> [1] "GInteractions"
#> attr(,"package")
#> [1] "InteractionSet"
## Anchors are plain GRanges and can be used with the full
## GenomicRanges functions.
InteractionSet::anchors(gi, type = "first")[1:3]
#> GRanges object with 3 ranges and 0 metadata columns:
#> seqnames ranges strand
#> <Rle> <IRanges> <Rle>
#> [1] chr2 172127001-172128000 *
#> [2] chr2 172157001-172158000 *
#> [3] chr2 172162001-172163000 *
#> -------
#> seqinfo: 1 sequence from an unspecified genome; no seqlengths
InteractionSet::anchors(gi, type = "second")[1:3]
#> GRanges object with 3 ranges and 0 metadata columns:
#> seqnames ranges strand
#> <Rle> <IRanges> <Rle>
#> [1] chr2 172477001-172478000 *
#> [2] chr2 172472001-172473000 *
#> [3] chr2 172457001-172458000 *
#> -------
#> seqinfo: 1 sequence from an unspecified genome; no seqlengths
## Example: anchor-to-anchor distance for each loop, using standard
## GenomicRanges accessors.
anchA <- InteractionSet::anchors(gi, type = "first")
anchB <- InteractionSet::anchors(gi, type = "second")
head(abs(GenomicRanges::start(anchB) - GenomicRanges::start(anchA)))
#> [1] 350000 315000 295000 300000 305000 310000GRanges annotationAny GRanges object (gene bodies, ChIP-seq peaks, etc.)
can be intersected with loops(obj) using standard
GenomicRanges operations. Here we use the
H3K27ac peak file shipped with the package to find loops
whose first anchor falls in a peak.
peakFile <- system.file(
"extdata", "example_annotation.bed",
package = "loopQTL"
)
peaks <- rtracklayer::import(peakFile)
ov <- GenomicRanges::findOverlaps(
InteractionSet::anchors(loops(obj), type = "first"),
peaks
)
length(unique(S4Vectors::queryHits(ov))) # loops with a peak at anchor A
#> [1] 1The same pattern lets you pull QTL rows whose SNP overlaps any
GRanges of interest (e.g. a credible-set region or a
regulatory annotation):
res <- results(obj)
snpGR <- GenomicRanges::GRanges(
seqnames = res$chrom,
ranges = IRanges::IRanges(res$pos, width = 1),
snpID = res$snpID
)
snpGR[seq_len(3)]
#> GRanges object with 3 ranges and 1 metadata column:
#> seqnames ranges strand | snpID
#> <Rle> <IRanges> <Rle> | <character>
#> [1] chr2 172449985 * | rs12052253
#> [2] chr2 172449985 * | rs12052253
#> [3] chr2 172449985 * | rs12052253
#> -------
#> seqinfo: 1 sequence from an unspecified genome; no seqlengthsInteractionSet for downstream Bioc
toolsIf a downstream tool expects a full InteractionSet
(interactions + sample-level assays), one can be constructed directly
from loops(obj) and phenotype(obj):
iset <- InteractionSet::InteractionSet(
assays = list(phenotype = phenotype(obj)),
interactions = loops(obj),
colData = S4Vectors::DataFrame(sample = samples(obj))
)
iset
#> class: InteractionSet
#> dim: 42 10
#> metadata(0):
#> assays(1): phenotype
#> rownames: NULL
#> rowData names(2): loopID nSamples
#> colnames(10): sample1 sample2 ... sample9 sample10
#> colData names(1): sample
#> type: GInteractions
#> regions: 22Loops, SNPs, and results can be written to .bed /
.bedpe files using rtracklayer so that they
can be loaded into IGV, the UCSC Genome Browser, or any other tool that
reads BED-family formats.
## Export the first anchor of each loop as a BED track.
rtracklayer::export(
InteractionSet::anchors(loops(obj), type = "first"),
con = "loops_anchorA.bed",
format = "BED"
)
## Export the SNP positions from the QTL results as a BED track.
rtracklayer::export(snpGR, con = "qtl_snps.bed", format = "BED")To our knowledge, at the time of writing there is no Bioconductor
package dedicated to chromatin loop QTL mapping. Several existing
Bioconductor packages address adjacent problems —
InteractionSet stores genomic interactions,
BNBC normalizes Hi-C matrices, multiHiCcompare
performs multi-sample Hi-C differential analysis, and
MatrixEQTL provides a fast QTL regression engine — but none
combines these into an end-to-end loop QTL workflow.
loopQTL composes with these packages (building on
InteractionSet for loop storage, MatrixEQTL
for the regression).
The most directly comparable tool is IQTL
(Bhattacharyya & Ay, Nat Commun, 2024), a Snakemake
pipeline that identifies genetic variants associated with chromatin
interactions using the RASQUAL allele-specific regression model, after
FitHiChIP coverage-bias correction on the loop counts.
loopQTL differs from IQTL on two axes:
Platform. loopQTL is a single
installable R package built on Bioconductor data structures, while IQTL
is a multi-tool Snakemake workflow constructed on HiC-Pro, FitHiChIP,
RASQUAL, GATK, and auxiliary R scripts.
Normalization. loopQTL applies a
band-wise joint quantile normalization (in the style of BNBC, Brant et
al., Brief Bioinform,
This work was supported in part by grants R21CA260082, R21CA264637, R21HG011506, and P30CA014089 from the National Institutes of Health, W81XWH-21-1-0805 grant from the Department of Defense, and pilot grants from the USC Keck School of Medicine, the USC Center for Genetic Epidemiology, and the USC Norris Comprehensive Cancer Center.
sessionInfo()
#> R version 4.6.2 (2026-10-29)
#> Platform: x86_64-pc-linux-gnu
#> Running under: Ubuntu 26.04.1 LTS
#>
#> Matrix products: default
#> BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
#> LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.32.so; LAPACK version 3.12.0
#>
#> locale:
#> [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
#> [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
#> [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
#> [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
#> [9] LC_ADDRESS=C LC_TELEPHONE=C
#> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
#>
#> time zone: Etc/UTC
#> tzcode source: system (glibc)
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> other attached packages:
#> [1] ggplot2_4.0.4 loopQTL_0.99.4 BiocStyle_2.43.0
#>
#> loaded via a namespace (and not attached):
#> [1] farver_2.1.2 blob_1.3.0
#> [3] Biostrings_2.83.1 S7_1.0.0
#> [5] bitops_1.1-0 fastmap_1.2.0
#> [7] RCurl_1.98-1.20 VariantAnnotation_1.61.0
#> [9] GenomicAlignments_1.51.0 XML_3.99-0.25
#> [11] digest_0.6.39 lifecycle_1.0.5
#> [13] KEGGREST_1.55.0 RSQLite_3.54.1
#> [15] compiler_4.6.2 rlang_1.3.0
#> [17] sass_0.5.0 tools_4.6.2
#> [19] yaml_2.3.12 data.table_1.18.6.1
#> [21] rtracklayer_1.75.0 knitr_1.52
#> [23] S4Arrays_1.15.0 labeling_0.4.3
#> [25] bit_4.6.0 curl_8.2.0
#> [27] DelayedArray_0.41.0 RColorBrewer_1.1-3
#> [29] abind_1.4-8 BiocParallel_1.49.0
#> [31] withr_3.0.3 BiocGenerics_0.61.1
#> [33] sys_3.4.3 grid_4.6.2
#> [35] stats4_4.6.2 scales_1.4.0
#> [37] SummarizedExperiment_1.45.0 cli_3.6.6
#> [39] rmarkdown_2.32 crayon_1.5.3
#> [41] generics_0.1.4 otel_0.3.0
#> [43] httr_1.4.9 rjson_0.2.23
#> [45] BiocBaseUtils_1.17.0 DBI_1.4.0
#> [47] cachem_1.1.0 parallel_4.6.2
#> [49] AnnotationDbi_1.77.1 BiocManager_1.30.27
#> [51] XVector_0.55.0 restfulr_0.0.17
#> [53] matrixStats_1.5.0 vctrs_0.7.3
#> [55] Matrix_1.7-6 jsonlite_2.0.0
#> [57] patchwork_1.3.2 IRanges_2.49.0
#> [59] S4Vectors_0.53.0 bit64_4.8.6
#> [61] GenomicFeatures_1.67.0 maketools_1.3.2
#> [63] strawr_0.0.92 jquerylib_0.1.4
#> [65] glue_1.8.1 codetools_0.2-20
#> [67] gtable_0.3.6 GenomicRanges_1.67.0
#> [69] BiocIO_1.25.0 htmltools_0.5.9
#> [71] Seqinfo_1.5.0 MatrixEQTL_2.4
#> [73] BSgenome_1.83.0 R6_2.6.1
#> [75] evaluate_1.0.5 lattice_0.23-1
#> [77] Biobase_2.75.0 png_0.1-9
#> [79] Rsamtools_2.31.0 cigarillo_1.5.0
#> [81] memoise_2.0.1 bslib_0.12.0
#> [83] Rcpp_1.1.2 InteractionSet_1.43.0
#> [85] SparseArray_1.15.0 xfun_0.63
#> [87] MatrixGenerics_1.27.0 buildtools_1.0.0loopQTLsetup:
Validate inputs and build loopQTL objectloopQTLnormalize:
Cross-normalization on Hi-C signalloopQTLchooseK:
Auto-select the number of PCs for covariatesrunQTL:
Anchor-restricted association testingloopQTLpairData:
Sample-level view of one loop × SNP pairloopQTLannotate:
Annotate results with target genes and regulatory peaksloopQTLplotPair:
Boxplot of loop strength by SNP dosageloopQTLplotLocus:
Locus-level track view of loops, SNPs, and genesloopQTLplotSnpWindow:
Hi-C-style beta heatmap around a SNP