# Introducing the csaw package

# Introduction

The csaw package is designed for the de novo detection of differentially bound regions from ChIP-seq data. It uses a sliding window approach to count reads across the genome from sorted and indexed BAM files. Each window is then tested for significant differences between libraries, using the methods in the edgeR package. It implements statistical methods for:

- normalization of window counts between libraries
- independent filtering of uninteresting windows
- controlling the false discovery rate across aggregated windows

csaw can be applied to any data set containing multiple conditions with biological replication. While intended for ChIP-seq data, the methods in this package can also be applied to any type of sequencing data where changes in genomic coverage are of interest.

# Documentation

The full user’s guide is available as part of the online documentation in the csawBook package. It can be obtained by typing:

    library(csaw)
    if (interactive()) csawUsersGuide()

Documentation for speicific functions is available through the usual R help system, e.g., `?windowCounts`. Further questions about the package should be directed to the Bioconductor support site.

# Session information

    sessionInfo()

    ## R version 4.6.0 (2026-04-24)
    ## Platform: x86_64-pc-linux-gnu
    ## Running under: Ubuntu 24.04.4 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=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] stats4    stats     graphics  grDevices utils     datasets  methods
    ## [8] base
    ##
    ## other attached packages:
    ##  [1] csaw_1.47.0                 SummarizedExperiment_1.43.0
    ##  [3] Biobase_2.73.1              MatrixGenerics_1.25.0
    ##  [5] matrixStats_1.5.0           GenomicRanges_1.65.0
    ##  [7] Seqinfo_1.3.0               IRanges_2.47.2
    ##  [9] S4Vectors_0.51.3            BiocGenerics_0.59.6
    ## [11] generics_0.1.4              BiocStyle_2.41.0
    ##
    ## loaded via a namespace (and not attached):
    ##  [1] sass_0.4.10         SparseArray_1.13.2  bitops_1.0-9
    ##  [4] lattice_0.22-9      digest_0.6.39       evaluate_1.0.5
    ##  [7] grid_4.6.0          fastmap_1.2.0       jsonlite_2.0.0
    ## [10] Matrix_1.7-5        limma_3.69.1        BiocManager_1.30.27
    ## [13] Biostrings_2.81.2   codetools_0.2-20    jquerylib_0.1.4
    ## [16] abind_1.4-8         cli_3.6.6           rlang_1.2.0
    ## [19] crayon_1.5.3        XVector_0.53.0      cachem_1.1.0
    ## [22] DelayedArray_0.39.3 yaml_2.3.12         metapod_1.21.0
    ## [25] S4Arrays_1.13.0     tools_4.6.0         parallel_4.6.0
    ## [28] BiocParallel_1.47.0 locfit_1.5-9.12     Rsamtools_2.29.0
    ## [31] buildtools_1.0.0    R6_2.6.1            lifecycle_1.0.5
    ## [34] edgeR_4.11.1        bslib_0.11.0        Rcpp_1.1.1-1.1
    ## [37] statmod_1.5.2       xfun_0.57           sys_3.4.3
    ## [40] knitr_1.51          htmltools_0.5.9     rmarkdown_2.31
    ## [43] maketools_1.3.2     compiler_4.6.0