d-(+)-Galactose-conjugated single-walled carbon nanotubes (SWCNTs) were synthesized for use as biosensors to detect the cancer marker galectin-3. The gene discussed is LGALS3; the disease is cancer.