The function of YEATS2 (YEATS domain containing 2, Ensembl gene identifier ENSG00000163872) is as follows. Chromatin reader component of the ATAC complex, a complex with histone acetyltransferase activity on histones H3 and H4 (PubMed:18838386, PubMed:19103755, PubMed:27103431). YEATS2 specifically recognizes and binds histone H3 crotonylated at 'Lys-27' (H3K27cr) (PubMed:27103431). Crotonylation marks active promoters and enhancers and confers resistance to transcriptional repressors (PubMed:27103431). {ECO:0000269|PubMed:18838386, ECO:0000269|PubMed:19103755, ECO:0000269|PubMed:27103431}.