An irregular mass margin was significantly associated with luminal-A cancers, while a smooth mass margin was associated with human epidermal growth factor receptor2 (HER2) cancers. This evidence concerns the gene ERBB2 and cancer.