The function of Ensembl gene identifier ENSG00000165238 (WNK2, WNK lysine deficient protein kinase 2) is as follows. Serine/threonine-protein kinase component of the WNK2- SPAK/OSR1 kinase cascade, which plays an important role in the regulation of electrolyte homeostasis, cell signaling, survival, and proliferation (PubMed:17667937, PubMed:18593598, PubMed:21733846). The WNK2-SPAK/OSR1 kinase cascade is composed of WNK2, which mediates phosphorylation and activation of downstream kinases OXSR1/OSR1 and STK39/SPAK (By similarity). Following activation, OXSR1/OSR1 and STK39/SPAK catalyze phosphorylation of ion cotransporters, regulating their activity (By similarity). Acts as an activator and inhibitor of sodium-coupled chloride cotransporters and potassium-coupled chloride cotransporters respectively (PubMed:21733846). Activates SLC12A2, SCNN1A, SCNN1B, SCNN1D and SGK1 and inhibits SLC12A5 (PubMed:21733846). Negatively regulates the EGF-induced activation of the ERK/MAPK-pathway and the downstream cell cycle progression (PubMed:17667937, PubMed:18593598). Affects MAPK3/MAPK1 activity by modulating the activity of MAP2K1 and this modulation depends on phosphorylation of MAP2K1 by PAK1 (PubMed:17667937, PubMed:18593598). WNK2 acts by interfering with the activity of PAK1 by controlling the balance of the activity of upstream regulators of PAK1 activity, RHOA and RAC1, which display reciprocal activity (PubMed:17667937, PubMed:18593598). {ECO:0000250|UniProtKB:Q9H4A3, ECO:0000269|PubMed:17667937, ECO:0000269|PubMed:18593598, ECO:0000269|PubMed:21733846}.