An HB5 aptamer that shows high selectivity for HER-2-positive cancer cells was then immobilized on the MXene layers. The gene discussed is ERBB2; the disease is cancer.