# Introducing the csaw package

Aaron Lun1

1Walter and Eliza Hall Institute for Medical Research, Melbourne, Australia

#### Revised: 17 February 2019

#### Package

csaw 1.28.0

# Contents

# 1 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.

# 2 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.

# 3 Session information

    sessionInfo()

    ## R version 4.1.1 (2021-08-10)
    ## Platform: x86_64-pc-linux-gnu (64-bit)
    ## Running under: Ubuntu 20.04.3 LTS
    ##
    ## Matrix products: default
    ## BLAS:   /home/biocbuild/bbs-3.14-bioc/R/lib/libRblas.so
    ## LAPACK: /home/biocbuild/bbs-3.14-bioc/R/lib/libRlapack.so
    ##
    ## locale:
    ##  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
    ##  [3] LC_TIME=en_GB              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
    ##
    ## attached base packages:
    ## [1] stats4    stats     graphics  grDevices utils     datasets  methods
    ## [8] base
    ##
    ## other attached packages:
    ##  [1] csaw_1.28.0                 SummarizedExperiment_1.24.0
    ##  [3] Biobase_2.54.0              MatrixGenerics_1.6.0
    ##  [5] matrixStats_0.61.0          GenomicRanges_1.46.0
    ##  [7] GenomeInfoDb_1.30.0         IRanges_2.28.0
    ##  [9] S4Vectors_0.32.0            BiocGenerics_0.40.0
    ## [11] BiocStyle_2.22.0
    ##
    ## loaded via a namespace (and not attached):
    ##  [1] Rcpp_1.0.7             bslib_0.3.1            compiler_4.1.1
    ##  [4] BiocManager_1.30.16    jquerylib_0.1.4        XVector_0.34.0
    ##  [7] bitops_1.0-7           tools_4.1.1            zlibbioc_1.40.0
    ## [10] metapod_1.2.0          digest_0.6.28          jsonlite_1.7.2
    ## [13] evaluate_0.14          lattice_0.20-45        rlang_0.4.12
    ## [16] Matrix_1.3-4           DelayedArray_0.20.0    parallel_4.1.1
    ## [19] yaml_2.2.1             xfun_0.27              fastmap_1.1.0
    ## [22] GenomeInfoDbData_1.2.7 stringr_1.4.0          knitr_1.36
    ## [25] Biostrings_2.62.0      sass_0.4.0             locfit_1.5-9.4
    ## [28] grid_4.1.1             R6_2.5.1               BiocParallel_1.28.0
    ## [31] rmarkdown_2.11         bookdown_0.24          limma_3.50.0
    ## [34] edgeR_3.36.0           magrittr_2.0.1         Rsamtools_2.10.0
    ## [37] htmltools_0.5.2        stringi_1.7.5          RCurl_1.98-1.5
    ## [40] crayon_1.4.1