ChromVar infers transcription-factor-associated accessibility from low-coverage or single-cell chromatin-accessibility data, thus enabling the clustering of cells and analysis of regulatory sequence motifs from sparse data sets. Single-cell ATAC-seq (scATAC) yields sparse data that make conventional analysis challenging. We developed chromVAR ( http://www.github.com/GreenleafLab/chromVAR ), an R package for analyzing sparse chromatin-accessibility data by estimating gain or loss of accessibility within peaks sharing the same motif or annotation while controlling for technical biases. chromVAR enables accurate clustering of scATAC-seq profiles and characterization of known and de novo sequence motifs associated with variation in chromatin accessibility.