Methods including correlation analysis, Cox regression analysis, and Kaplan-Meier analysis were used to explore the expression pattern, prognosis, tumor infiltration pattern, genetics and epigenetics, and drug sensitivity of B4GALNT1 in pan-cancer patients from the above datasets. This evidence concerns the gene B4GALNT1 and cancer.