Epiregulon tutorial with MultiAssayExperiment

Introduction

Gene regulatory networks model the underlying gene regulation hierarchies that drive gene expression and cell states. The main functions of this package are to construct gene regulatory networks and infer transcription factor (TF) activity at the single cell level by integrating scATAC-seq and scRNA-seq data and incorporating of public bulk TF ChIP-seq data.

There are three related packages: epiregulon, epiregulon.extra and epiregulon.archr, the two of which are available through Bioconductor and the last of which is only available through github. The basic epiregulon package takes in gene expression and chromatin accessibility matrices in the form of SingleCellExperiment objects, constructs gene regulatory networks (“regulons”) and outputs the activity of transcription factors at the single cell level. The epiregulon.extra package provides a suite of tools for enrichment analysis of target genes, visualization of target genes and transcription factor activity, and network analysis which can be run on the epiregulon output. If the users would like to start from ArchR projects instead of SingleCellExperiment objects, they may choose to use epiregulon.archr package, which allows for seamless integration with the ArchR package, and continue with the rest of the workflow offered in epiregulon.extra.

For full documentation of the epiregulon package, please refer to the epiregulon book.

Installation

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")
 
BiocManager::install("epiregulon")

Alternatively, you could install from github

devtools::install_github(repo ='xiaosaiyao/epiregulon')

Load package

library(epiregulon)

Data preparation

Prior to using epiregulon, single cell preprocessing needs to performed by user’s favorite methods. The following components are required:
1. Peak matrix from scATAC-seq containing the chromatin accessibility information
2. Gene expression matrix from either paired or unpaired scRNA-seq. RNA-seq integration needs to be performed for unpaired dataset.
3. Dimensionality reduction matrix from either single modality dataset or joint scRNA-seq and scATAC-seq

This tutorial demonstrates the basic functions of epiregulon, using the reprogram-seq dataset which can be downloaded from the scMultiome package. In this example, prostate cancer cells (LNCaP) were infected in separate wells with viruses encoding 4 transcription factors (NKX2-1, GATA6, FOXA1 and FOXA2) and a positive control (mNeonGreen) before pooling. The identity of the infected transcription factors was tracked through cell hashing (available in the field hash_assignment of the colData) and serves as the ground truth.

# load the MAE object
library(scMultiome)
mae <- scMultiome::reprogramSeq()

# extract peak matrix
PeakMatrix <- mae[["PeakMatrix"]]

# extract expression matrix
GeneExpressionMatrix <- mae[["GeneExpressionMatrix"]]
rownames(GeneExpressionMatrix) <- rowData(GeneExpressionMatrix)$name

# define the order of hash_assigment
GeneExpressionMatrix$hash_assignment <- 
  factor(as.character(GeneExpressionMatrix$hash_assignment),
         levels = c("HTO10_GATA6_UTR", "HTO2_GATA6_v2", 
                    "HTO8_NKX2.1_UTR", "HTO3_NKX2.1_v2",
                    "HTO1_FOXA2_v2", "HTO4_mFOXA1_v2", "HTO6_hFOXA1_UTR", 
                    "HTO5_NeonG_v2"))
# extract dimensional reduction matrix
reducedDimMatrix <- reducedDim(mae[['TileMatrix500']], "LSI_ATAC")

# transfer UMAP_combined from TileMatrix to GeneExpressionMatrix
reducedDim(GeneExpressionMatrix, "UMAP_Combined") <- 
  reducedDim(mae[['TileMatrix500']], "UMAP_Combined")

Visualize singleCellExperiment by UMAP


scater::plotReducedDim(GeneExpressionMatrix, 
                       dimred = "UMAP_Combined", 
                       text_by = "Clusters", 
                       colour_by = "Clusters")

Quick start

Retrieve bulk TF ChIP-seq binding sites

First, we retrieve a GRangesList object containing the binding sites of all the transcription factors and co-regulators. These binding sites are derived from bulk ChIP-seq data in the ChIP-Atlas and ENCODE databases. For the same transcription factor, multiple ChIP-seq files from different cell lines or tissues are merged. For further information on how these peaks are derived, please refer to ?epiregulon::getTFMotifInfo. Currently, human genomes hg19 and hg38 and mouse mm10 are supported.

grl <- getTFMotifInfo(genome = "hg38")
#> Retrieving chip-seq data, version 2
#> see ?scMultiome and browseVignettes('scMultiome') for documentation
#> downloading 1 resources
#> retrieving 1 resource
#> loading from cache
grl
#> GRangesList object of length 1377:
#> $AEBP2
#> GRanges object with 2700 ranges and 0 metadata columns:
#>          seqnames            ranges strand
#>             <Rle>         <IRanges>  <Rle>
#>      [1]     chr1        9792-10446      *
#>      [2]     chr1     942105-942400      *
#>      [3]     chr1     984486-984781      *
#>      [4]     chr1   3068932-3069282      *
#>      [5]     chr1   3069411-3069950      *
#>      ...      ...               ...    ...
#>   [2696]     chrY   8465261-8465730      *
#>   [2697]     chrY 11721744-11722260      *
#>   [2698]     chrY 11747448-11747964      *
#>   [2699]     chrY 19302661-19303134      *
#>   [2700]     chrY 19985662-19985982      *
#>   -------
#>   seqinfo: 25 sequences from an unspecified genome; no seqlengths
#> 
#> ...
#> <1376 more elements>

We recommend the use of ChIP-seq data over motif for estimating TF occupancy. However, if the user would like to start from motifs, it is possible to switch to the motif mode. The user can provide the peak regions as a GRanges object and the location of the motifs will be annotated based on Cisbp from chromVARmotifs (human_pwms_v2 and mouse_pwms_v2, version 0.2)

grl.motif <- getTFMotifInfo(genome = "hg38",  
                            mode = "motif", 
                            peaks = rowRanges(PeakMatrix))

Add TF motif binding to peaks

The next step is to add the TF binding information by overlapping regions of the peak matrix with the bulk chip-seq database. The output is a data frame object with three columns:

  1. idxATAC - index of the peak in the peak matrix
  2. idxTF - index in the gene expression matrix corresponding to the transcription factor
  3. tf - name of the transcription factor

overlap <- addTFMotifInfo(grl = grl, 
                          p2g = p2g, 
                          peakMatrix = PeakMatrix)
#> Computing overlap...
#> Success!
head(overlap)
#>      idxATAC idxTF     tf
#> 1724      10     2   AFF1
#> 1725      10     4   AGO1
#> 1726      10     7 ARID1B
#> 1727      10    11 ARID4B
#> 1728      10    12 ARID5B
#> 1729      10    16   ATF1

Generate regulons

A DataFrame, representing the inferred regulons, is then generated. The DataFrame consists of ten columns:

  1. idxATAC - index of the peak in the peak matrix
  2. chr - chromosome number
  3. start - start position of the peak
  4. end - end position of the peak
  5. idxRNA - index in the gene expression matrix corresponding to the target gene
  6. target - name of the target gene
  7. distance - distance between the transcription start site of the target gene and the middle of the peak
  8. idxTF - index in the gene expression matrix corresponding to the transcription factor
  9. tf - name of the transcription factor
  10. corr - correlation between target gene expression and the chromatin accessibility at the peak. if cluster labels are provided, this field is a matrix with columns names corresponding to correlation across all cells and for each of the clusters.

regulon <- getRegulon(p2g = p2g, 
                      overlap = overlap)
regulon
#> DataFrame with 6182417 rows and 12 columns
#>           idxATAC         chr     start       end    idxRNA  target      corr
#>         <integer> <character> <integer> <integer> <integer> <array>  <matrix>
#> 1              10        chr1    920987    921487        33    AGRN  0.323975
#> 2              10        chr1    920987    921487        33    AGRN  0.323975
#> 3              10        chr1    920987    921487        33    AGRN  0.323975
#> 4              10        chr1    920987    921487        33    AGRN  0.323975
#> 5              10        chr1    920987    921487        33    AGRN  0.323975
#> ...           ...         ...       ...       ...       ...     ...       ...
#> 6182413    126597        chrX 155881100 155881600     36436   VAMP7 -0.121494
#> 6182414    126597        chrX 155881100 155881600     36436   VAMP7 -0.121494
#> 6182415    126597        chrX 155881100 155881600     36436   VAMP7 -0.121494
#> 6182416    126597        chrX 155881100 155881600     36436   VAMP7 -0.121494
#> 6182417    126597        chrX 155881100 155881600     36436   VAMP7 -0.121494
#>         p_val_peak_gene FDR_peak_gene  distance     idxTF          tf
#>                <matrix>      <matrix> <integer> <integer> <character>
#> 1             0.0229991      0.922962     98631         2        AFF1
#> 2             0.0229991      0.922962     98631         4        AGO1
#> 3             0.0229991      0.922962     98631         7      ARID1B
#> 4             0.0229991      0.922962     98631        11      ARID4B
#> 5             0.0229991      0.922962     98631        12      ARID5B
#> ...                 ...           ...       ...       ...         ...
#> 6182413       0.0398279      0.927214         0      1314      ZNF687
#> 6182414       0.0398279      0.927214         0      1319        ZNF7
#> 6182415       0.0398279      0.927214         0      1341      ZNF777
#> 6182416       0.0398279      0.927214         0      1360      ZNF883
#> 6182417       0.0398279      0.927214         0      1376        ZXDB

Add Weights

While the pruneRegulon function provides statistics on the joint occurrence of TF-RE-TG, we would like to further estimate the strength of regulation. Biologically, this can be interpreted as the magnitude of gene expression changes induced by transcription factor activity. Epiregulon estimates the regulatory potential using one of the three measures: 1) correlation between TF and target gene expression, 2) mutual information between the TF and target gene expression and 3) Wilcoxon test statistics of target gene expression in cells jointly expressing all 3 elements vs cells that do not.

Two of the measures (correlation and Wilcoxon statistics) give both the magnitude and directionality of changes whereas mutual information is always positive. The correlation and mutual information statistics are computed on pseudobulks aggregated by user-supplied cluster labels, whereas the Wilcoxon method groups cells into two categories: 1) the active category of cells jointly expressing TF, RE and TG and 2) the inactive category consisting of the remaining cells.

We calculate cluster-specific weights if users supply cluster labels.


regulon.w <- addWeights(regulon = pruned.regulon,
                        expMatrix  = GeneExpressionMatrix,
                        exp_assay  = "normalizedCounts",
                        peakMatrix = PeakMatrix,
                        peak_assay = "counts",
                        clusters = GeneExpressionMatrix$Clusters,
                        method = "wilcox")

regulon.w

Annotate with TF motifs (Optional)

So far the gene regulatory network was constructed from TF ChIP-seq exclusively. Some users would prefer to further annotate regulatory elements with the presence of motifs. We provide an option to annotate peaks with motifs from the Cisbp database. If no motifs are present for this particular factor (as in the case of co-factors or chromatin modifiers), we return NA. If motifs are available for a factor and the RE contains a motif, we return 1. If motifs are available and the RE does not contain a motif, we return 0. The users can also provide their own motif annotation through the pwms argument.


regulon.w.motif <- addMotifScore(regulon = regulon.w,
                                 peaks = rowRanges(PeakMatrix),
                                 species = "human",
                                 genome = "hg38")
#> annotating peaks with motifs
#> see ?scMultiome and browseVignettes('scMultiome') for documentation
#> downloading 1 resources
#> retrieving 1 resource
#> loading from cache
#> 
#> Attaching package: 'Biostrings'
#> The following object is masked from 'package:base':
#> 
#>     strsplit
#> 
#> Attaching package: 'rtracklayer'
#> The following object is masked from 'package:AnnotationHub':
#> 
#>     hubUrl

# if desired, set weight to 0 if no motif is found
regulon.w.motif$weight[regulon.w.motif$motif == 0] <- 0

regulon.w.motif
#> DataFrame with 13498 rows and 17 columns
#>         idxATAC         chr     start       end    idxRNA     target      corr
#>       <integer> <character> <integer> <integer> <integer>    <array>  <matrix>
#> 1            10        chr1    920987    921487        33       AGRN  0.323975
#> 2            12        chr1    924540    925040        27    PLEKHN1  0.373765
#> 3            23        chr1    966150    966650        21 AL645608.2 -0.136358
#> 4            28        chr1    999317    999817        27    PLEKHN1  0.524135
#> 5            38        chr1   1032901   1033401        30       HES4  0.275697
#> ...         ...         ...       ...       ...       ...        ...       ...
#> 13494    124431        chrX  16719400  16719900     35406      CTPS2 -0.194462
#> 13495    124936        chrX  46545175  46545675     35577     KRBOX4  0.357921
#> 13496    124973        chrX  47233173  47233673     35587      RBM10 -0.130774
#> 13497    125193        chrX  56563317  56563817     35748     UBQLN2 -0.146803
#> 13498    126267        chrX 134915012 134915512     36191    FAM122C  0.289123
#>       p_val_peak_gene FDR_peak_gene  distance     idxTF          tf
#>              <matrix>      <matrix> <integer> <integer> <character>
#> 1          0.02299910      0.922962     98631       485          AR
#> 2          0.01528005      0.922962     41440       485          AR
#> 3          0.02462848      0.922962     54715       485          AR
#> 4          0.00442594      0.922962     32835       485          AR
#> 5          0.03593445      0.927214     32920       485          AR
#> ...               ...           ...       ...       ...         ...
#> 13494      0.00332033      0.922962      7183       723      NKX2-1
#> 13495      0.01722957      0.922962     97883       723      NKX2-1
#> 13496      0.02951227      0.922962     87952       723      NKX2-1
#> 13497      0.01750427      0.922962         0       723      NKX2-1
#> 13498      0.03179830      0.922962    118617       723      NKX2-1
#>                             pval                     stats      qval    weight
#>                         <matrix>                  <matrix>  <matrix>  <matrix>
#> 1     0.521775:0.870585516:1:... 0.410384: 0.0265412:0:... 1:1:1:... 0:0:0:...
#> 2     0.110060:0.000116038:1:... 2.553361:14.8560048:0:... 1:1:1:... 0:0:0:...
#> 3     0.142243:0.692713301:1:... 2.153523: 0.1561638:0:... 1:1:1:... 0:0:0:...
#> 4     0.017158:0.015354703:1:... 5.680140: 5.8753061:0:... 1:1:1:... 0:0:0:...
#> 5     0.152310:0.045790435:1:... 2.048962: 3.9892871:0:... 1:1:1:... 0:0:0:...
#> ...                          ...                       ...       ...       ...
#> 13494        0.031852249:1:1:...           4.60643:0:0:... 1:1:1:... 0:0:0:...
#> 13495        0.002129666:1:1:...           9.43428:0:0:... 1:1:1:... 0:0:0:...
#> 13496        0.002844939:1:1:...           8.90434:0:0:... 1:1:1:... 0:0:0:...
#> 13497        0.000327196:1:1:...          12.90791:0:0:... 1:1:1:... 0:0:0:...
#> 13498        0.000153873:1:1:...          14.32422:0:0:... 1:1:1:... 0:0:0:...
#>           motif
#>       <numeric>
#> 1             0
#> 2             0
#> 3             0
#> 4             0
#> 5             0
#> ...         ...
#> 13494         0
#> 13495         0
#> 13496         0
#> 13497         0
#> 13498         0

Annotate with log fold changes (Optional)

It is sometimes helpful to filter the regulons based on gene expression changes between two conditions. The addLogFC function is a wrapper around scran::findMarkers and adds extra columns of log changes to the regulon DataFrame. The users can specify the reference condition in logFC_ref and conditions for comparison in logFC_condition. If these are not provided, log fold changes are calculated for every condition in the cluster labels against the rest of the conditions.

# create logcounts
GeneExpressionMatrix <- scuttle::logNormCounts(GeneExpressionMatrix)

# add log fold changes which are calculated by taking the difference of the log counts
regulon.w <- addLogFC(regulon = regulon.w,
                      clusters = GeneExpressionMatrix$hash_assignment,
                      expMatrix  = GeneExpressionMatrix,
                      assay.type  = "logcounts",
                      pval.type = "any",
                      logFC_condition = c("HTO10_GATA6_UTR", 
                                          "HTO2_GATA6_v2", 
                                          "HTO8_NKX2.1_UTR"),
                      logFC_ref = "HTO5_NeonG_v2")

regulon.w
#> DataFrame with 13498 rows and 25 columns
#>         idxATAC         chr     start       end    idxRNA     target      corr
#>       <integer> <character> <integer> <integer> <integer>    <array>  <matrix>
#> 1            10        chr1    920987    921487        33       AGRN  0.323975
#> 2            12        chr1    924540    925040        27    PLEKHN1  0.373765
#> 3            23        chr1    966150    966650        21 AL645608.2 -0.136358
#> 4            28        chr1    999317    999817        27    PLEKHN1  0.524135
#> 5            38        chr1   1032901   1033401        30       HES4  0.275697
#> ...         ...         ...       ...       ...       ...        ...       ...
#> 13494    124431        chrX  16719400  16719900     35406      CTPS2 -0.194462
#> 13495    124936        chrX  46545175  46545675     35577     KRBOX4  0.357921
#> 13496    124973        chrX  47233173  47233673     35587      RBM10 -0.130774
#> 13497    125193        chrX  56563317  56563817     35748     UBQLN2 -0.146803
#> 13498    126267        chrX 134915012 134915512     36191    FAM122C  0.289123
#>       p_val_peak_gene FDR_peak_gene  distance     idxTF          tf
#>              <matrix>      <matrix> <integer> <integer> <character>
#> 1          0.02299910      0.922962     98631       485          AR
#> 2          0.01528005      0.922962     41440       485          AR
#> 3          0.02462848      0.922962     54715       485          AR
#> 4          0.00442594      0.922962     32835       485          AR
#> 5          0.03593445      0.927214     32920       485          AR
#> ...               ...           ...       ...       ...         ...
#> 13494      0.00332033      0.922962      7183       723      NKX2-1
#> 13495      0.01722957      0.922962     97883       723      NKX2-1
#> 13496      0.02951227      0.922962     87952       723      NKX2-1
#> 13497      0.01750427      0.922962         0       723      NKX2-1
#> 13498      0.03179830      0.922962    118617       723      NKX2-1
#>                             pval                     stats      qval
#>                         <matrix>                  <matrix>  <matrix>
#> 1     0.521775:0.870585516:1:... 0.410384: 0.0265412:0:... 1:1:1:...
#> 2     0.110060:0.000116038:1:... 2.553361:14.8560048:0:... 1:1:1:...
#> 3     0.142243:0.692713301:1:... 2.153523: 0.1561638:0:... 1:1:1:...
#> 4     0.017158:0.015354703:1:... 5.680140: 5.8753061:0:... 1:1:1:...
#> 5     0.152310:0.045790435:1:... 2.048962: 3.9892871:0:... 1:1:1:...
#> ...                          ...                       ...       ...
#> 13494        0.031852249:1:1:...           4.60643:0:0:... 1:1:1:...
#> 13495        0.002129666:1:1:...           9.43428:0:0:... 1:1:1:...
#> 13496        0.002844939:1:1:...           8.90434:0:0:... 1:1:1:...
#> 13497        0.000327196:1:1:...          12.90791:0:0:... 1:1:1:...
#> 13498        0.000153873:1:1:...          14.32422:0:0:... 1:1:1:...
#>                           weight HTO10_GATA6_UTR.vs.HTO5_NeonG_v2.FDR
#>                         <matrix>                            <numeric>
#> 1     0.0094423:-0.0112024:0:...                            0.0333213
#> 2     0.0251689: 0.1903207:0:...                            0.7687435
#> 3     0.0219649:-0.0193460:0:...                            0.7803240
#> 4     0.0375626: 0.1220942:0:...                            0.7687435
#> 5     0.0220605: 0.0963304:0:...                            0.4291195
#> ...                          ...                                  ...
#> 13494          0.0312261:0:0:...                             0.938624
#> 13495          0.0479624:0:0:...                             0.789689
#> 13496          0.0451194:0:0:...                             1.000000
#> 13497          0.0545797:0:0:...                             0.938624
#> 13498          0.0590248:0:0:...                             0.107217
#>       HTO10_GATA6_UTR.vs.HTO5_NeonG_v2.p.value
#>                                      <numeric>
#> 1                                     -6.90824
#> 2                                     -2.40697
#> 3                                     -2.35820
#> 4                                     -2.40697
#> 5                                     -3.48075
#> ...                                        ...
#> 13494                                -1.225717
#> 13495                                -2.327685
#> 13496                                -0.905505
#> 13497                                -1.581068
#> 13498                                -5.431082
#>       HTO10_GATA6_UTR.vs.HTO5_NeonG_v2.logFC HTO2_GATA6_v2.vs.HTO5_NeonG_v2.FDR
#>                                    <numeric>                          <numeric>
#> 1                                  0.0622893                         0.00813329
#> 2                                 -0.0224284                         1.00000000
#> 3                                 -0.0172101                         1.00000000
#> 4                                 -0.0224284                         1.00000000
#> 5                                 -0.0698706                         0.62968837
#> ...                                      ...                                ...
#> 13494                             -0.0319954                           1.000000
#> 13495                             -0.0399728                           0.701182
#> 13496                             -0.0213063                           0.950512
#> 13497                             -0.0259159                           1.000000
#> 13498                              0.0494759                           0.273449
#>       HTO2_GATA6_v2.vs.HTO5_NeonG_v2.p.value
#>                                    <numeric>
#> 1                                  -8.744274
#> 2                                  -0.498011
#> 3                                  -0.916768
#> 4                                  -0.498011
#> 5                                  -2.930635
#> ...                                      ...
#> 13494                              -0.106763
#> 13495                              -2.714838
#> 13496                              -1.738571
#> 13497                              -0.125431
#> 13498                              -4.286155
#>       HTO2_GATA6_v2.vs.HTO5_NeonG_v2.logFC HTO8_NKX2.1_UTR.vs.HTO5_NeonG_v2.FDR
#>                                  <numeric>                            <numeric>
#> 1                               0.06470266                             0.968083
#> 2                               0.00796239                             1.000000
#> 3                              -0.00918756                             1.000000
#> 4                               0.00796239                             1.000000
#> 5                              -0.05776614                             1.000000
#> ...                                    ...                                  ...
#> 13494                          -0.00379030                             1.000000
#> 13495                          -0.04333186                             0.712988
#> 13496                          -0.03168107                             1.000000
#> 13497                           0.00308709                             1.000000
#> 13498                           0.03356188                             1.000000
#>       HTO8_NKX2.1_UTR.vs.HTO5_NeonG_v2.p.value
#>                                      <numeric>
#> 1                                    -2.479073
#> 2                                    -0.128231
#> 3                                    -0.582022
#> 4                                    -0.128231
#> 5                                    -0.169655
#> ...                                        ...
#> 13494                              -0.06770122
#> 13495                              -3.19148908
#> 13496                              -0.18250904
#> 13497                              -0.69099522
#> 13498                              -0.00213509
#>       HTO8_NKX2.1_UTR.vs.HTO5_NeonG_v2.logFC
#>                                    <numeric>
#> 1                                 0.02476163
#> 2                                -0.00218254
#> 3                                -0.00642750
#> 4                                -0.00218254
#> 5                                 0.00620451
#> ...                                      ...
#> 13494                            2.36451e-03
#> 13495                           -4.66566e-02
#> 13496                            5.09628e-03
#> 13497                           -1.28121e-02
#> 13498                           -2.37129e-05

Calculate TF activity

Finally, the activities for a specific TF in each cell are computed by averaging expressions of target genes linked to the TF weighted by the test statistics of choice, chosen from either correlation, mutual information or the Wilcoxon test statistics. \[y=\frac{1}{n}\sum_{i=1}^{n} x_i * weights_i\] where \(y\) is the activity of a TF for a cell, \(n\) is the total number of targets for a TF, \(x_i\) is the log count expression of target \(i\) where \(i\) in {1,2,…,n} and \(weights_i\) is the weight of TF - target \(i\)

score.combine <- calculateActivity(expMatrix = GeneExpressionMatrix,
                                   regulon = regulon.w, 
                                   mode = "weight", 
                                   method = "weightedMean", 
                                   exp_assay = "normalizedCounts",
                                   normalize = FALSE)
#> Warning in calculateActivity(expMatrix = GeneExpressionMatrix, regulon =
#> regulon.w, : Argument 'method' to calculateActivity was deprecated as of
#> epiregulon version 2.0.0
#> calculating TF activity from regulon using weightedMean
#> Warning in calculateActivity(expMatrix = GeneExpressionMatrix, regulon = regulon.w, : The weight column contains multiple subcolumns but no cluster information was provided.
#>           Using first column to compute activity...
#> aggregating regulons...
#> creating weight matrix...
#> calculating activity scores...
#> normalize by the number of targets...

score.combine[1:5,1:5]
#> 5 x 5 sparse Matrix of class "dgCMatrix"
#>        reprogram#TTAGGAACAAGGTACG-1 reprogram#GAGCGGTCAACCTGGT-1
#> AR                       0.01832745                   0.01853802
#> FOXA1                    0.01788144                   0.01661191
#> FOXA2                    0.01947630                   0.02124863
#> GATA6                    0.01557653                   0.03861018
#> NKX2-1                   0.02769195                   0.01553372
#>        reprogram#TTATAGCCACCCTCAC-1 reprogram#TGGTGATTCCTGTTCA-1
#> AR                      0.016725197                  0.012285003
#> FOXA1                   0.015314461                  0.012770634
#> FOXA2                   0.012684812                  0.014455462
#> GATA6                   0.008862807                  0.008148755
#> NKX2-1                  0.013523343                  0.010776218
#>        reprogram#TCGGTTCTCACTAGGT-1
#> AR                       0.01823245
#> FOXA1                    0.01764787
#> FOXA2                    0.01460458
#> GATA6                    0.01262190
#> NKX2-1                   0.02591234

Session Info

sessionInfo()
#> R version 4.5.2 (2025-10-31)
#> Platform: x86_64-pc-linux-gnu
#> Running under: Ubuntu 24.04.3 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.26.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=C              
#>  [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] stats4    stats     graphics  grDevices utils     datasets  methods  
#> [8] base     
#> 
#> other attached packages:
#>  [1] BSgenome.Hsapiens.UCSC.hg38_1.4.5 BSgenome_1.78.0                  
#>  [3] rtracklayer_1.70.0                BiocIO_1.20.0                    
#>  [5] Biostrings_2.78.0                 XVector_0.50.0                   
#>  [7] GenomeInfoDb_1.46.2               scMultiome_1.10.0                
#>  [9] MultiAssayExperiment_1.36.1       ExperimentHub_3.0.0              
#> [11] AnnotationHub_4.0.0               BiocFileCache_3.0.0              
#> [13] dbplyr_2.5.1                      epiregulon_2.0.2                 
#> [15] SingleCellExperiment_1.32.0       SummarizedExperiment_1.40.0      
#> [17] Biobase_2.70.0                    GenomicRanges_1.62.0             
#> [19] Seqinfo_1.0.0                     IRanges_2.44.0                   
#> [21] S4Vectors_0.48.0                  BiocGenerics_0.56.0              
#> [23] generics_0.1.4                    MatrixGenerics_1.22.0            
#> [25] matrixStats_1.5.0                 BiocStyle_2.38.0                 
#> 
#> loaded via a namespace (and not attached):
#>   [1] RColorBrewer_1.1-3          sys_3.4.3                  
#>   [3] jsonlite_2.0.0              magrittr_2.0.4             
#>   [5] ggbeeswarm_0.7.3            farver_2.1.2               
#>   [7] rmarkdown_2.30              vctrs_0.6.5                
#>   [9] memoise_2.0.1               Rsamtools_2.26.0           
#>  [11] RCurl_1.98-1.17             htmltools_0.5.9            
#>  [13] S4Arrays_1.10.1             BiocBaseUtils_1.12.0       
#>  [15] curl_7.0.0                  BiocNeighbors_2.4.0        
#>  [17] Rhdf5lib_1.32.0             SparseArray_1.10.6         
#>  [19] rhdf5_2.54.1                sass_0.4.10                
#>  [21] bslib_0.9.0                 httr2_1.2.2                
#>  [23] cachem_1.1.0                buildtools_1.0.0           
#>  [25] GenomicAlignments_1.46.0    igraph_2.2.1               
#>  [27] lifecycle_1.0.4             pkgconfig_2.0.3            
#>  [29] rsvd_1.0.5                  Matrix_1.7-4               
#>  [31] R6_2.6.1                    fastmap_1.2.0              
#>  [33] digest_0.6.39               TFMPvalue_0.0.9            
#>  [35] AnnotationDbi_1.72.0        scater_1.38.0              
#>  [37] dqrng_0.4.1                 irlba_2.3.5.1              
#>  [39] RSQLite_2.4.5               beachmat_2.26.0            
#>  [41] seqLogo_1.76.0              filelock_1.0.3             
#>  [43] labeling_0.4.3              httr_1.4.7                 
#>  [45] abind_1.4-8                 compiler_4.5.2             
#>  [47] bit64_4.6.0-1               withr_3.0.2                
#>  [49] S7_0.2.1                    backports_1.5.0            
#>  [51] BiocParallel_1.44.0         viridis_0.6.5              
#>  [53] DBI_1.2.3                   HDF5Array_1.38.0           
#>  [55] rappdirs_0.3.3              DelayedArray_0.36.0        
#>  [57] bluster_1.20.0              rjson_0.2.23               
#>  [59] gtools_3.9.5                caTools_1.18.3             
#>  [61] tools_4.5.2                 vipor_0.4.7                
#>  [63] beeswarm_0.4.0              glue_1.8.0                 
#>  [65] h5mread_1.2.1               restfulr_0.0.16            
#>  [67] rhdf5filters_1.22.0         grid_4.5.2                 
#>  [69] checkmate_2.3.3             cluster_2.1.8.1            
#>  [71] TFBSTools_1.48.0            gtable_0.3.6               
#>  [73] metapod_1.18.0              BiocSingular_1.26.1        
#>  [75] ScaledMatrix_1.18.0         ggrepel_0.9.6              
#>  [77] BiocVersion_3.22.0          pillar_1.11.1              
#>  [79] motifmatchr_1.32.0          limma_3.66.0               
#>  [81] dplyr_1.1.4                 lattice_0.22-7             
#>  [83] bit_4.6.0                   tidyselect_1.2.1           
#>  [85] DirichletMultinomial_1.52.0 locfit_1.5-9.12            
#>  [87] maketools_1.3.2             scuttle_1.20.0             
#>  [89] knitr_1.50                  gridExtra_2.3              
#>  [91] scrapper_1.4.0              edgeR_4.8.1                
#>  [93] xfun_0.54                   statmod_1.5.1              
#>  [95] UCSC.utils_1.6.0            yaml_2.3.11                
#>  [97] evaluate_1.0.5              codetools_0.2-20           
#>  [99] cigarillo_1.0.0             tibble_3.3.0               
#> [101] BiocManager_1.30.27         cli_3.6.5                  
#> [103] jquerylib_0.1.4             Rcpp_1.1.0.8               
#> [105] png_0.1-8                   XML_3.99-0.20              
#> [107] parallel_4.5.2              ggplot2_4.0.1              
#> [109] blob_1.2.4                  scran_1.38.0               
#> [111] bitops_1.0-9                pwalign_1.6.0              
#> [113] viridisLite_0.4.2           scales_1.4.0               
#> [115] purrr_1.2.0                 crayon_1.5.3               
#> [117] rlang_1.1.6                 KEGGREST_1.50.0