Study shows traits in cancer cells help tumors resist drugs