{"id":641680,"date":"2026-05-14T01:14:10","date_gmt":"2026-05-14T01:14:10","guid":{"rendered":"https:\/\/www.newsbeep.com\/us\/641680\/"},"modified":"2026-05-14T01:14:10","modified_gmt":"2026-05-14T01:14:10","slug":"ecotypes-of-triple-negative-breast-cancer-in-response-to-chemotherapy","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/us\/641680\/","title":{"rendered":"Ecotypes of triple-negative breast cancer in response to chemotherapy"},"content":{"rendered":"<p>Study participant details from the ARTEMIS Trial<\/p>\n<p>The clinical trial protocol was reviewed and approved by The University of Texas MD Anderson Cancer Center Institutional Review Board and all participants provided written informed consent (<a href=\"https:\/\/clinicaltrials.gov\/ct2\/show\/NCT02276443\" rel=\"nofollow noopener\" target=\"_blank\">NCT02276443<\/a>; MDA no. 2014-0185). All study procedures performed were in accordance with ethical standards of the Institutional Review Board and with the 1964 Helsinki declaration and its later amendments or comparable ethical standards. TNBC was defined as breast cancer that was oestrogen receptor-negative (lower than 1%) or low oestrogen receptor-positive (1% to less than 10%), progesterone\u00a0receptor-negative (less than 1%) or low progesterone\u00a0receptor-positive (1% to less than 10%) and HER2-negative by immunohistochemistry and fluorescence in situ hybridization. Residual cancer burden (RCB) status after chemotherapy treatment was assessed by histopathology from the resected surgical specimen<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 61\" title=\"Symmans, W. F. et al. Measurement of residual breast cancer burden to predict survival after neoadjuvant chemotherapy. J. Clin. Oncol. 25, 4414&#x2013;4422 (2007).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR61\" id=\"ref-link-section-d74770572e2396\" rel=\"nofollow noopener\" target=\"_blank\">61<\/a>. Chemotherapy response was classified into pCR (RCB-0) or RD (RCB-I, II or III) by RCB status. A subset of patients (N\u2009=\u200919) with suboptimal mid-treatment response were changed to targeted therapies before surgery and had no NAC response data available. The gene-expression data from patients with TNBC without NAC response data were used for the biological analysis (for example, cell type and cell state clustering) but were excluded from the analyses comparing the response groups. For each patient, 1\u20134 fresh tumour breast core needle biopsies were collected and transported to the laboratory in media for cell dissociation and frozen for spatial transcriptomic experiments.<\/p>\n<p>Experimental method detailsscRNA-seq<\/p>\n<p>The biopsies were placed in 10-cm sterile tissue culture dishes and were cut into pieces around 1\u2009mm3, then digested in 1\u2009ml of dissociation buffer (collagenase A (1\u2009mg\u2009ml\u22121 working solution, Sigma no. 11088793001) dissolved in DMEM F12\/HEPES media (Gibco no. 113300) and BSA fraction V solutions (Gibco no. 15260037) mixed at a 3:1 ratio, respectively). Cell suspensions were transferred into a 1.5-ml tube and rotated in a hybridization oven for 30\u2009min at 37\u2009\u00b0C. The cell pellet was collected by centrifuging at 500g for 5\u2009min and then resuspended in 1\u2009ml of trypsin (Corning no. 25053CI) before incubating in a rotating hybridization oven at 37\u2009\u00b0C for 5\u2009min. Next, 2\u2009ml of DMEM containing 10% fetal bovine serum (Sigma no. F0926) was used for trypsin neutralization. The solution was then filtered through a 70-\u03bcm strainer (Falcon no. 352350) and then centrifuged at 500g for 5\u2009min to collect the cell pellet. To remove red blood cells, the cell pellet was nutated at room temperature for 10\u2009min in 10\u2009ml of 1\u00d7 MACS red blood cell lysis buffer (MACS no. 130-094-183). Then 10\u2009ml of DMEM was added to stop red blood cell lysis and then centrifuged at 500g for 5\u2009min. The resulting pellet was washed in 1\u2009ml of cold DMEM and then resuspended in 100\u2009\u00b5l of cold PBS (Sigma no. D8537)\u2009+\u20090.04% BSA solution (Ambion no. AM2616) and filtered through a 40-\u03bcm flowmi (Bel-Art no. h13680-0040) on ice until use. Before loading, cell viability and cell counts were quantified by Trypan blue staining with the Countless II FL automated cell counter (Thermo Fisher) and their concentration was adjusted to 300\u20131,000 cells per microlitre. Single-cell capture, barcoding and library preparation were performed by following the 10X Genomics Single Cell Chromium 3\u2032 protocols (V2, CG00052; V3, CG000183; V3.1, CG000204). A detailed step-by-step description of this protocol is also publicly available at Protocols.IO <a href=\"https:\/\/doi.org\/10.17504\/protocols.io.t3geqjw\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/doi.org\/10.17504\/protocols.io.t3geqjw<\/a>.<\/p>\n<p>Visium spatial transcriptomics experiments<\/p>\n<p>Visium spatial transcriptomics experiments were performed using the Visium Platform (10X Genomics) following the manufacturer\u2019s protocol with a minor modification based on the recommendations in the Tissue Optimization protocol (10X protocol no. CG000238). Specifically, fresh tumour biopsies were embedded in cryogenic (cryo) moulds with optimal cutting temperature (OCT) compound (Fisher nos. NC9542860, 1437365) on dry ice and stored at \u221280\u2009\u00b0C until cryo-sectioning. Next 12-\u03bcm sections were prepared on a cryomicrotome (Cryostar NX70, Thermo Scientific) with chuck and blade temperatures set at \u221217\u2009\u00b0C and \u221215\u2009\u00b0C, respectively. Two core sections were placed within the capture area of the Visium spatial slide (10X Genomics PN-1000184). According to the manufacturer\u2019s tissue optimization protocol, we determined that the optimal permeabilization time for breast tissue was 12\u2009min. Sectioned slides were fixed and stained with H&amp;E as described by the manufacturer (10X protocol no. CG000160). Images of H&amp;E staining were captured on the Nikon Eclipse Ti2 system following imaging guidelines (10X protocol no. CG000241). The final libraries were constructed by following the user guide (10X protocol no. CG000239) and were sequenced on the Illumina next-generation sequencing system (NovoSeq6000) using the S2-100 flow cell.<\/p>\n<p>Xenium in situ RNA experiments<\/p>\n<p>Fresh frozen breast core biopsy tissues were embedded in cryomolds using OCT compound (Thermo Fisher Scientific no. 1437365) over dry ice and cryo-sectioned at 12\u2009\u03bcm using a cryomicrotome (Leica, CM1950). Sections were placed within the capture area of the Xenium slides (10X Genomics, PN3000941). Tissue fixation and permeabilization were performed according to the 10X Genomics user guide (CG000581, revision D), with a modification extending the 37\u2009\u00b0C incubation to 3\u2009min for breast tissue samples. FFPE tissues were sectioned at 5\u2009\u03bcm and placed on xenium slides by the pathology laboratory. Deparaffinization and decrosslinking were performed following the 10X Genomics user guide (CG000580, revision E), with a modification extending the nuclease-free water incubation time to 1\u2009min to remove residual eosin from previously stained tissue before embedding. Both OCT and FFPE slides were subsequently proceeded according to the Xenium prime in situ gene expression with cell segmentation staining User Guide (CG000760, revision E). A custom 100-gene panel was also designed (Supplementary Table <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">4<\/a>) and incorporated as an add-on to the Xenium Human 5K Pan Tissue &amp; Pathways Panel. Post-Xenium H&amp;E staining was conducted following the manufacturer\u2019s protocol (10X Genomics user guide CG000613 revision A).<\/p>\n<p>VisiumHD spatial transcriptomics experiments<\/p>\n<p>Fresh frozen breast core biopsy tissues were embedded in OCT and cryo-sectioned at 12-\u03bcm thicknesses onto Nexterion H 3D hydrogel-coated slides (SCHOTT, no. 1800434). H&amp;E staining and imaging were performed according to the VisiumHD Fresh Frozen Tissue Preparation Handbook (10X Genomics, CG000763, revision E), with a modification extending the 37\u2009\u00b0C incubation step to 3\u2009min for breast tissue samples. FFPE tissues were sectioned at 5-\u03bcm thicknesses and mounted on Nexterion H 3D hydrogel-coated slides. H&amp;E staining, imaging and decrosslinking were conducted following the VisiumHD FFPE Tissue Preparation Handbook (10X Genomics, CG000684, CG000730). Post-Xenium prime slides were processed according to Post-Xenium in Situ Applications for VisiumHD (10X Genomics, CG000709, revision D). Autofluorescence Quenching Solution was removed following the Post-Xenium Analyzer H&amp;E Staining Protocol (10X Genomics, CG000613, steps 1.1\u20131.3). H&amp;E staining and imaging were performed as described in the VisiumHD FFPE Tissue Preparation Handbook (10X Genomics, CG000684). Tissue slides were imaged using a Nikon Eclipse Ti2 microscope in accordance with the VisiumHD Spatial Applications Imaging Guidelines (10X Genomics, CG000688). Subsequent library preparation and sequencing were performed following the VisiumHD Spatial Gene Expression Reagent Kits User Guide (10X Genomics, CG000685).<\/p>\n<p>Quantification and statistical analysisPreprocessing of the scRNA-seq, Visium, VisiumHD and Xenium data<\/p>\n<p>Sequencing reads of the scRNA-seq from the 10X Genomics Chromium protocol were demultiplexed using bcl2fastq (v.2.20). The scRNA-seq reads were aligned to the hg38 human genome reference using the CellRanger pipeline (v.3.1.0) with the default parameters. The Visium and VisiumHD reads were aligned to the hg38 human genome using the SpaceRanger pipeline (v.3.1.3) with the default parameters. For the VisiumHD processing, we used a bin size of 32\u2009\u00b5m to combine features. According to the Xenium Onboard Analysis User Guide (CG000584, revision H), Xenium data and cell segmentation were generated by the xenium onboard analysis (v.3.3.0.1) using the xenium instrument software (v.3.3.0.0). The cell (or spot)-gene-expression matrix of each sample was normalized to 1\u2009\u00d7\u2009105 and log2-scaled using Seurat (v.5)<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 62\" title=\"Stuart, T. et al. Comprehensive integration of single-cell data. Cell 177, 1888&#x2013;1902 (2019).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR62\" id=\"ref-link-section-d74770572e2480\" rel=\"nofollow noopener\" target=\"_blank\">62<\/a>.<\/p>\n<p>Identification of aneuploid cells from scRNA data<\/p>\n<p>We applied CopyKAT<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 36\" title=\"Gao, R. et al. Delineating copy number and clonal substructure in human tumors from single-cell transcriptomes. Nat. Biotechnol. 39, 599&#x2013;608 (2021).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR36\" id=\"ref-link-section-d74770572e2492\" rel=\"nofollow noopener\" target=\"_blank\">36<\/a> (v.1.0.8) to infer CNAs on the basis of gene-expression read counts from each single cell. Because our scRNA-seq data in most samples contained several cell types, we randomly picked roughly 800 cells from 1 sample from the HBCA dataset<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 34\" title=\"Kumar, T. et al. A spatially resolved single-cell genomic atlas of the adult human breast. Nature 620, 181&#x2013;191 (2023).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR34\" id=\"ref-link-section-d74770572e2496\" rel=\"nofollow noopener\" target=\"_blank\">34<\/a> containing all the cell types and then mixed them with each TNBC sample to run CopyKAT. With the inferred CNA profiles, we further performed quality control in each sample using the Leiden-based method developed here and the Tirosh-like method modified from a previous study<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 37\" title=\"Tirosh, I. et al. Dissecting the multicellular ecosystem of metastatic melanoma by single-cell RNA-seq. Science 352, 189&#x2013;196 (2016).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR37\" id=\"ref-link-section-d74770572e2500\" rel=\"nofollow noopener\" target=\"_blank\">37<\/a>. The cells from HBCA are all normal diploid cells, so they are used as the negative control to help identify any query cells with spurious CNA events.<\/p>\n<p>The Leiden-based method determined aneuploidy if the query cells were not coclustered with the negative-control cells on the basis of the inferred CNAs profiles. The single-cell inferred CNAs profiles were subjected to principal component analysis (PCA). The top 30 PCA components were used to further perform dimensionality reduction to a two-dimensional space of UMAP. With the UMAP space coordinates of cells, a cell-to-cell similarity graph was built using \u2018Rphenograph\u2019 (v.0.99.1) at a granularity of using 50 nearest neighbours. On the basis of this similarity graph, the cell clusters were determined by using the function \u2018leiden_find_partition\u2019 of the \u2018leidenbase\u2019 package (v.0.1.8). To avoid under-clustering, clustering was performed stepwise with the clustering resolution, which started at 0.1 and increased by 0.1 per step. To avoid over-clustering, clustering stopped if either there were more than five clusters, or the resolution value reached two. As a result, a cell cluster was tentatively considered \u2018aneuploid\u2019 if the number and the percentage of the negative-control cells in the cluster were fewer than 10 and less than 1%, respectively.<\/p>\n<p>The modified Tirosh-like method calculated the CNA score, which quantified the magnitude of genomic aberrations and the aneuploid correlation coefficient (ACC) that reflected whether a cell harboured the common CNAs profiles found in the sample. The CNA score of each cell was the square root of the sum of the squared CNA values of all genomic bins, where the CNA value was log2-scaled copy number ratio provided by CopyKAT. It was then rescaled against a value interval with the minimum and maximum specified as the 5% and 99.5% quantile of the CNA scores of the negative-control cells, respectively. To calculate ACC, the top 1% of cells with the highest CNA score were selected to compute the average CNA profile that represented the profile of the tentative aneuploid cells. A Pearson correlation coefficient between this profile and each single-cell inferred CNAs profile was calculated to yield ACC. The 99% quantiles of the CNA scores and ACCs of the negative-control cells were used as the threshold values for filtering. As a result, a single cell was tentatively considered \u2018aneuploid\u2019 if it had higher values than these two thresholds.<\/p>\n<p>Taken together, each cell was finally designated as \u2018aneuploid\u2019 if it was classified as \u2018aneuploid\u2019 by both the Leiden-based and the Tirosh-like methods. Otherwise, the cell was determined as \u2018non-aneuploid\u2019.<\/p>\n<p>Default scRNA-seq preliminary analysis using Seurat<\/p>\n<p>The single-cell unique molecular identifier (UMI)-count data were normalized to a total UMI count of 1\u2009\u00d7\u2009105 and log-scaled by using \u2018NormalizeData\u2019. Z scores of genes across single-cell were calculated using \u2018ScaleData\u2019 with total UMI counts regressed out to mitigate technical artefacts in downstream clustering. The top 2,000 high variable genes were determined by \u2018FindVariableFeatures\u2019. Linear dimension reduction of PCA was performed by \u2018RunPCA\u2019 with 300 principal components. With the top 200 PCA components, a cell-to-cell similarity neighbouring matrix was constructed by \u2018FindNeighbors\u2019, which further enabled a nonlinear dimension reduction of UMAP by \u2018RunUMAP\u2019 with the default parameters (for example, n.neighbors\u2009=\u200930). Louvain-based clustering by \u2018FindClusters\u2019 with various resolutions from 0.5 to 3 was performed to prepare for downstream annotation.<\/p>\n<p>CCA-based integration<\/p>\n<p>To mitigate potential batch-effect and patient-effect on data integration, we performed anchor-based canonical correlation analysis (CCA). In brief, we assigned single cells to arbitrary batches such that these batches had a balanced number of cells to facilitate performing CCA. The top 2,000 highly variable genes were determined by \u2018FindVariableFeatures\u2019 with the \u2018vst\u2019 method in each random batch data. These random batches were integrated by using the functions \u2018SelectIntegrationFeatures\u2019, \u2018FindIntegrationAnchors\u2019 and \u2018IntegrateData\u2019 with the default parameters.<\/p>\n<p>DEG analysis<\/p>\n<p>The DEGs using single-cell data were identified by applying the functions \u2018FindMarkers\u2019 and \u2018FindAllMarkers\u2019 of Seurat, which uses the Wilcoxon rank-sum test and corrects P values by the Bonferroni method. The DEGs using a pseudo-bulk count matrix were identified by using the functions \u2018DESeqDataSetFromMatrix \u2018, \u2018DESeq\u2019 and \u2018results\u2019 of the package \u2018DESeq2\u2019<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 63\" title=\"Love, M. I., Huber, W. &amp; Anders, S. Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome Biol. 15, 550 (2014).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR63\" id=\"ref-link-section-d74770572e2548\" rel=\"nofollow noopener\" target=\"_blank\">63<\/a> with the default testing parameters, which performed a Wald test and adjusted P values by means of the Benjamini\u2013Hochberg procedure.<\/p>\n<p>Filtering of scRNA-seq data and identifying main cell types<\/p>\n<p>To remove low-quality cells, we retained cells that had at least 500 UMIs, at least 150 genes and a percentage of mitochondrial genes of less than 40%. To identify the main cell types, we computationally integrated the scRNA-seq data of all single cells of all samples using the CCA-based integration approach. Subsequently, our default scRNA-seq preliminary analysis using Seurat was performed. To identify the cell type for the resulting clusters, we identified the DEGs using \u2018FindAllMarkers\u2019 with the default parameters in a comparison of each cluster of being investigated and all the other clusters. By examining the top DEGs of each cluster, we determined the cell types on the basis of the canonical marker genes: epithelial (for example, EPCAM, KRT6A\/B, KRT7, KRT19, KRT8), myeloid cells (for example, SPI1, LYZ, APOC1), T cells (for example, CD3E\/D, TRBC1), NK cells (for example, GNLY, NKG7), B cells (for example, MS4A1, JCHAIN), fibroblast (for example, LUM, DCN, COL1A1\/2), endothelial cells (for example, FABP4, VWF) and perivascular cells (for example, RGS5, STEAP4). Cell clusters with similar top DEGs were merged to form clusters at cell-type level.<\/p>\n<p>Depending on the aneuploidy and cell-type identity, cells were separated into three groups: (1) cancer cells that were classified as aneuploid epithelial cells, (2) immune or stromal cells that were classified as non-aneuploid non-epithelial cells and (3) noisy or low-quality cells that were either aneuploid non-epithelial cells or non-aneuploid epithelial cells. Only the first two groups were kept for further processing. To remove doublets and multiplets, we enumerated each cell type and performed further clustering by applying the default Seurat clustering workflow. As previously described in ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 39\" title=\"Neftel, C. et al. An integrative model of cellular states, plasticity, and genetics for glioblastoma. Cell 178, 835&#x2013;849 (2019).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR39\" id=\"ref-link-section-d74770572e2632\" rel=\"nofollow noopener\" target=\"_blank\">39<\/a>, we set the highly variable genes as the canonical markers of all cell types found in the HBCA dataset to identify doublets with the cancer cells. In each cell type, any clusters expressing DEGs of other cell types were considered doublets or multiplets and were removed from analysis. Last, cell clusters with mitochondria-related and noise-related top DEGs (for example, NEAT1, MALAT1) were also removed.<\/p>\n<p>Calculating the frequency of CNAs in a patient cohort<\/p>\n<p>To calculate the patient frequency of a CNA event (either gain or loss) along the genome, we first determined the CNA events present in each tumour. For each tumour, we computed the median of the log-scaled copy number ratio values of each genomic bin across single cells, which resulted in the consensus CNA profile of each tumour. For each consensus CNA profile, we used the mean value of all genomic bins as the ground state copy number and the s.d. as the deviation cut-off. Then we determined that a genomic bin had a CNA event of genomic gain if its copy number was greater than the mean\u2009+\u2009s.d., whereas it had a genomic loss if the copy number was smaller than the mean\u2009\u2212\u2009s.d. Finally, the frequency of a CNA event in a genomic bin was determined as the number of consensus profiles having that event divided by the total number of consensus profiles.<\/p>\n<p>Creating pseudo-bulk RNA-seq data<\/p>\n<p>To create a pseudo-bulk RNA-seq data for a given group of single cells (for example, a patient or a cell type), the UMI counts of all single cells were summed for each gene. When there were many groups, we performed variance stabilizing transformation for normalization using the \u2018vst\u2019 function in DESeq2 (ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 63\" title=\"Love, M. I., Huber, W. &amp; Anders, S. Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome Biol. 15, 550 (2014).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR63\" id=\"ref-link-section-d74770572e2655\" rel=\"nofollow noopener\" target=\"_blank\">63<\/a>) (v.1.34.0).<\/p>\n<p>Performing NMF<\/p>\n<p>Given a log2-scaled normalized UMI-count matrix Xij, where \\(i\\in \\{1,2,\\ldots ,G\\}\\), \\(j\\in \\{1,2,\\ldots ,N\\}\\), G is the number of genes and N is the number of observations (for example, cells or patients), the gene expression of each gene among observations were centred to zero and then all the negative values were modified to zero. This processed matrix was then subjected to RcppML<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 64\" title=\"DeBruine, Z. J., Melcher, K. &amp; Triche, T. J. Fast and robust non-negative matrix factorization for single-cell experiments. Preprint at bioRxiv &#010;                https:\/\/doi.org\/10.1101\/2021.09.01.458620&#010;                &#010;               (2021).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR64\" id=\"ref-link-section-d74770572e2791\" rel=\"nofollow noopener\" target=\"_blank\">64<\/a> (v.0.3.7) to run non-negative matrix factorization (NMF). The parameter \u2018tol\u2019 controlling tolerance was set to 1\u2009\u00d7\u200910\u22125 to allow sufficient iterations and achieve a high approximation. With a fixed number of factors (that is, K), NMF resulted in two matrices: Wik showing genes-to-factors contributions and Hkj showing factors-to-observations contributions, where \\(k\\in \\{1,2,\\ldots ,K\\}\\). NMF was not performed when K exceeded N.<\/p>\n<p>Determining marker genes of a NMF factor<\/p>\n<p>Marker genes of each factor were determined on the basis of the gene-to-factor contribution matrix Wik of NMF<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 64\" title=\"DeBruine, Z. J., Melcher, K. &amp; Triche, T. J. Fast and robust non-negative matrix factorization for single-cell experiments. Preprint at bioRxiv &#010;                https:\/\/doi.org\/10.1101\/2021.09.01.458620&#010;                &#010;               (2021).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR64\" id=\"ref-link-section-d74770572e2887\" rel=\"nofollow noopener\" target=\"_blank\">64<\/a>. For a factor indexed at k, genes were sorted in a decreasing order on the basis of the values in the column W*k. Then each gene g was enumerated to be added to the set of marker genes until the specific value Wgk was no longer the maximum of the row Wg*, as previously described in ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 65\" title=\"Carmona-Saez, P., Pascual-Marqui, R. D., Tirado, F., Carazo, J. M. &amp; Pascual-Montano, A. Biclustering of gene expression data by non-smooth non-negative matrix factorization. BMC Bioinformatics 7, 78 (2006).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR65\" id=\"ref-link-section-d74770572e2916\" rel=\"nofollow noopener\" target=\"_blank\">65<\/a>. To accommodate genes possibly shared by several factors, we tolerated at most two more genes being added when the value Wgk was not the maximum. This procedure was later used to define marker genes for archetypes and metaprograms.<\/p>\n<p>Identifying archetypes<\/p>\n<p>In contrast to the conventional bulk RNA-seq that reflected signals from the intermixed cell types, we created a pseudo-bulk RNA-seq gene-expression matrix using cancer cells only for each patient and then performed NMF on all pseudo-bulk data to identify archetypes. In detail, the top 75% of genes in terms of the mean and variance of gene expressions were retained. This filtered pseudo-bulk gene-expression matrix was subjected to NMF using several numbers of factors K ranging from 2 to 10. Each factor denoted an archetype. The parameter \u2018L1\u2019 controlling sparsity of NMF results was set as 0.05. To determine the most possible number of archetypes in the dataset, we used the function \u2018fviz_nbclust\u2019 of \u2018factoextra\u2019 (v.1.0.7) to estimate the silhouette scores that compared the patient-to-patient Spearman correlation matrix of gene expressions and the archetype assignments resulting from the series of K values. Last, the resulting matrix Hkj was used to assign each patient j by its highest factor, representing the designated archetype. The gene signature of an archetype was determined as the shared genes between the marker genes of each archetype (that is, a NMF factor) and the DEGs of each archetype that showed a fold change of 2 or less and Benjamini\u2013Hochberg-adjusted P\u2009&lt;\u20090.05.<\/p>\n<p>Measuring archetype specificity<\/p>\n<p>For each sample, the log2 ratio between the two top archetypes and the Tau score<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 66\" title=\"Yanai, I. et al. Genome-wide midrange transcription profiles reveal expression level relationships in human tissue specification. Bioinformatics 21, 650&#x2013;659 (2005).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR66\" id=\"ref-link-section-d74770572e2964\" rel=\"nofollow noopener\" target=\"_blank\">66<\/a> were computed using the NMF loading matrix H for scRNA-seq data and using the overall expression levels of archetype gene signatures for Xenium data. To determine the thresholds for each metric, we used the resulting values in all samples and fitted two-component Gaussian mixture model using the \u2018normalmixEM\u2019 function in the mixtools package with default parameters. The mean of the lower component was used as the threshold. Last, if both the Tau score and log2 ratio were below the thresholds, the archetype specificity was \u2018ambiguous\u2019 in the sample; otherwise, it was \u2018dominant\u2019.<\/p>\n<p>Identifying metaprograms of cancer cells<\/p>\n<p>In brief, we enumerated each sample and performed NMF on single cancer cells to identify the transcriptional programs that were heterogeneously expressed. The transcriptional programs showing similar marker genes in many samples were merged to derive metaprograms. In detail, we excluded genes having an average log2-scaled normalized expression no greater than 0.05 and samples having fewer than 20 cancer cells. The gene-expression matrix of each sample was subjected to NMF using a series of number of factors (that is, \\(K\\in \\{2,4,\\ldots ,30\\}\\)). Each NMF factor represented a transcriptional program, and the marker genes of the programs were determined. Jaccard similarities between all detected programs were computed on the basis of their marker genes. A program was considered noisy and excluded if it had a Jaccard similarity less than 0.25 with its most similar program other than itself.<\/p>\n<p>To find the proper clusters of the programs to form metaprograms, we repeatedly applied the following procedure of clustering, cutting, grouping, filtering and merging. Hierarchical clustering was performed on the Jaccard similarity matrix with the \u2018ward.D2\u2019 linkage method by use of the function \u2018hclust\u2019. We cut the tree into several groups of programs with a series of number of cuts (that is, \\(C\\in \\{10,12,\\ldots ,30\\}\\)) using the R function \u2018cutree\u2019. On the basis of the grouping result of the maximum cut C\u2009=\u200930, we computed the intra-group and inter-group Jaccard similarity scores. We filtered out groups having an intra-group Jaccard similarity score less than 0.1. We merged groups if they had mutual inter-group Jaccard similarity scores greater than 0.2 and were found in the same group resulting from a smaller value of cut. Each round of the procedure resulted in tentative metaprograms and was repeatedly performed until there was no further change. Last, we averaged the gene-to-factor contribution values of the NMF factors assigned to each metaprogram to make the gene-to-metaprogram contribution matrix, which was used to determine the marker genes of each metaprogram (that is, a NMF factor). Metaprograms characterized by genes associated with technical noise were excluded.<\/p>\n<p>Testing the association of archetype and response<\/p>\n<p>We first built the contingency table of the archetype assignments and NAC responses of the patients. Then a chi-squared test was performed using the R function \u2018chisq.test\u2019, which provided a chi-squared test statistic, degrees of freedom and a P value to evaluate significance. This test also provided the Pearson residual showing the direction of association.<\/p>\n<p>CNA inference in Visium data<\/p>\n<p>To find the spatial transcriptomic spots having a high abundance of cancer cells in each sample, we performed the \u2018Tirosh-based\u2019 approach modified from previous work in ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 37\" title=\"Tirosh, I. et al. Dissecting the multicellular ecosystem of metastatic melanoma by single-cell RNA-seq. Science 352, 189&#x2013;196 (2016).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR37\" id=\"ref-link-section-d74770572e3106\" rel=\"nofollow noopener\" target=\"_blank\">37<\/a>. In each sample, we performed CopyKAT<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 36\" title=\"Gao, R. et al. Delineating copy number and clonal substructure in human tumors from single-cell transcriptomes. Nat. Biotechnol. 39, 599&#x2013;608 (2021).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR36\" id=\"ref-link-section-d74770572e3110\" rel=\"nofollow noopener\" target=\"_blank\">36<\/a> resulting in a CNA profile for each spot. The CNA profiles of all spots were averaged to represent the reference CNA profile of the malignant cell population. For each spot, the squared CNA values of all genomic bins were averaged to represent the aberration score. A Pearson correlation between the CNA profile of a spot and the reference CNA profile was calculated to estimate whether the spot had the common CNA events detected in the sample. Using the inferred CNA profiles of all spots, we then ran the functions \u2018findSuggestedK\u2019 and \u2018findClusters\u2019 of the package Copykit<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 67\" title=\"Wang, J. et al. Delineating the copy-number substructure of metastatic tumors with CopyKit. Mol. Cell 86, 407&#x2013;422.e6 (2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR67\" id=\"ref-link-section-d74770572e3114\" rel=\"nofollow noopener\" target=\"_blank\">67<\/a> to determine spot clusters harbouring similar CNA profiles. The cluster of spots with an average aberration score &gt;0.005, an average correlation &gt;0.3 and the known CNA events (for example, chromosome 8 gain) were classified as \u2018abnormal\u2019: otherwise, they were \u2018normal\u2019. Furthermore, depending on the average aberration score, the cancer-cell abundance of a \u2018abnormal\u2019 spot cluster was further classified as \u2018high\u2019 if it was greater than 0.045, \u2018medium\u2019 if it was in the range of 0.02\u20130.045 or \u2018low\u2019 if it was less than 0.02.<\/p>\n<p>Identifying cell types and cell states in Xenium data<\/p>\n<p>Identification of cell types and cell states used the Label Transfer approach from Seurat<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 62\" title=\"Stuart, T. et al. Comprehensive integration of single-cell data. Cell 177, 1888&#x2013;1902 (2019).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR62\" id=\"ref-link-section-d74770572e3126\" rel=\"nofollow noopener\" target=\"_blank\">62<\/a>, which integrated a reference scRNA-seq data with a query Xenium data and projected the cell identities from the scRNA data to the Xenium data. First, we created a reference scRNA-seq data by randomly down-sampling at most 1,000 cells for each cancer-cell metaprogram and TME cell state and selecting genes in the Xenium gene panel. To improve computational robustness, we performed \u2018label transfer\u2019 using a tenfold cross validation approach. We split the genes evenly into ten subsets, such that each subset maintained the same statistical distribution of gene expression as the whole gene set. Then label transfer was performed consecutively ten times with nine gene subsets used each time. Last, the consensus transferred label was used as the cell identity for each cell. In detail, we performed label transfer for each Xenium sample to determine cell types while we enumerated each cell type of the immune and stromal cell types to integrate all Xenium data to perform label transfer, which resulted in cell states. As doublets or low-quality cells did not receive the same votes for cell identities among the ten label transfer results, we required a cell to have the same transferred cell type in all the ten votes. The threshold of votes for a transferred cell state was the maximum votes, such that the total probe count, the detected gene count and the label transfer probability of cells were no longer significantly different from the cells with ten votes (Wilcoxon test, Benjamini\u2013Hochberg-adjusted P\u2009&lt;\u20090.05). If this vote threshold was less than five, it was manually designated as five. Doublets or low-quality cells were removed from this analysis.<\/p>\n<p>Identifying cancer-cell bins in VisiumHD data<\/p>\n<p>VisiumHD with a bin size of 32\u2009\u00b5m was used to increase gene counts for cells. The bins with total UMI counts fewer than 10 and a gene number fewer than 30 were removed from analysis. VisiumHD data were subject to the same default scRNA-seq preliminary analysis using Seurat. The aneuploid bins were identified using the same pipeline of scRNA-seq aneuploid cell identification. Cell types of bins were identified by the Robust Cell Type Decomposition method in the package spacexr<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 68\" title=\"Cable, D. M. et al. Robust decomposition of cell type mixtures in spatial transcriptomics. Nat. Biotechnol. 40, 517&#x2013;526 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR68\" id=\"ref-link-section-d74770572e3142\" rel=\"nofollow noopener\" target=\"_blank\">68<\/a> (v.2.2.1). As the reference data to run Robust Cell Type Decomposition, we first leveraged the HBCA scRNA-seq data and then used the TNBC scRNA-seq data from this study. The bins that were \u2018aneuploid\u2019 and were predicted as \u2018epithelial cells\u2019 and \u2018cancer cells\u2019 were finally designated as the cancer-cell bins.<\/p>\n<p>Gene signature levels in spatial transcriptomics<\/p>\n<p>We used AUCell<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 69\" title=\"Aibar, S. et al. SCENIC: single-cell regulatory network inference and clustering. Nat. Methods 14, 1083&#x2013;1086 (2017).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR69\" id=\"ref-link-section-d74770572e3154\" rel=\"nofollow noopener\" target=\"_blank\">69<\/a> (v.1.16.0) to quantify the overall expression level of a gene signature (for example, archetypes) in the spatial transcriptomics data. In brief, we used the function \u2018AUCell_buildRankings\u2019 with the default parameters to build the gene-expression ranking matrix of all genes across all spots. We applied the function \u2018AUCell_calcAUC\u2019 and specified the parameter \u2018aucMaxRank\u2019 to use the top 20% of the genes in the ranking matrix, which resulted in the \u2018AUCell value\u2019 estimating enrichment level of a gene signature in spots.<\/p>\n<p>Calculating module scores of a metaprogram in single cancer cells<\/p>\n<p>For each metaprogram, module scores of single cells were computed using the expression of marker genes while randomly selecting genes with comparable expression levels as the control<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 37\" title=\"Tirosh, I. et al. Dissecting the multicellular ecosystem of metastatic melanoma by single-cell RNA-seq. Science 352, 189&#x2013;196 (2016).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR37\" id=\"ref-link-section-d74770572e3166\" rel=\"nofollow noopener\" target=\"_blank\">37<\/a>. Specifically, we applied the function \u2018AddModuleScore\u2019 of Seurat<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 62\" title=\"Stuart, T. et al. Comprehensive integration of single-cell data. Cell 177, 1888&#x2013;1902 (2019).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR62\" id=\"ref-link-section-d74770572e3170\" rel=\"nofollow noopener\" target=\"_blank\">62<\/a> on all cancer cells from all samples to calculate the module scores.<\/p>\n<p>Assigning cell cycle phase for single cells<\/p>\n<p>We applied the function \u2018CellCycleScoring\u2019 of Seurat with the cell cycle phase-specific genes provided by Seurat to all the cancer cells to assign the cell cycling phase.<\/p>\n<p>Integrating TME of TNBC and the normal breast tissues<\/p>\n<p>We randomly selected the scRNA-seq data of 50 disease-free individuals from the HBCA dataset<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 34\" title=\"Kumar, T. et al. A spatially resolved single-cell genomic atlas of the adult human breast. Nature 620, 181&#x2013;191 (2023).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR34\" id=\"ref-link-section-d74770572e3190\" rel=\"nofollow noopener\" target=\"_blank\">34<\/a>. For each non-cancer cell type (that is, myeloid cells, T\/NK cells, B cells, fibroblast, endothelial cells and perivascular cells), we used CCA-based integration approach to integrate the single cells from patients with TNBC and normal breast tissue data from HBCA.<\/p>\n<p>Immune and stromal cell states in scRNA-seq data<\/p>\n<p>For the immune (myeloid, T\/NK and B cells) and stromal (fibroblast, endothelial and perivascular cells) cell compartments, we performed further subclustering for each cell type using the following procedure. Subclustering was performed by using the function \u2018FindClusters\u2019 with a series of clustering resolution ranging from 0.5 to 3. The DEGs of clusters were identified by using the function \u2018FindAllMarkers\u2019. Clusters showing similar DEGs were merged to avoid over-clustering. We also used the package \u2018clustree\u2019<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 70\" title=\"Zappia, L. &amp; Oshlack, A. Clustering trees: a visualization for evaluating clusterings at multiple resolutions. GigaScience 7, giy083 (2018).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR70\" id=\"ref-link-section-d74770572e3202\" rel=\"nofollow noopener\" target=\"_blank\">70<\/a> (v.0.4.4) and referred to the results of integrating with HBCA to guide choosing the proper resolution and merging cell clusters. Cell subclusters expressing canonical marker genes from other lineages were considered doublets and removed from analysis.<\/p>\n<p>Single-cell UMAP visualization of cells in scRNA-seq data<\/p>\n<p>To facilitate single-cell UMAP visualization of all cells, all cancer cells, all immune cells or all stromal cells, we applied the default single-cell analysis workflow with the following adjustments of parameters. For all cells, all cancer cells and all immune cells, we simply merged the single-cell data instead of applying CCA-based integration. For all stromal cells, we used the integrated data. Then we re-identified 5,000 high variable genes and reperformed PCA with 500 components. The top 300 PCA components were used. Finally, to regenerate the UMAPs for all cells and all cancer cells, we did not adjust parameters of \u2018RunUMAP\u2019. We changed the parameters to n.neighbors\u2009=\u200920, min.dist\u2009=\u20091 and spread\u2009=\u20090.75 for all immune cells, and changed to min.dist\u2009=\u20093 and spread\u2009=\u20091.5 for all stromal cells.<\/p>\n<p>Cell frequency of the metaprograms and TME cell states<\/p>\n<p>The cell frequency of a metaprogram in a sample was calculated as the ratio between the number of cancer cells having a module score no smaller than 0.1 and the total number of cancer cells. In the sample without cancer cells, the cellular frequencies of metaprograms were assigned as \u2018not detected\u2019 (that is, the \u2018NA\u2019 value) instead of 0. The cell frequency of a TME cell state in a sample was computed as the fraction of the cell state in the corresponding cell type. This fraction was also designated as not detected if the corresponding cell type was not found in the sample. This calculation procedure was applied to scRNA-seq and Xenium data. Comparison of cell frequencies between two groups was subject to the Wilcoxon signed-rank test providing exact P values.<\/p>\n<p>Co-occurrence of cancer cells and TME cells<\/p>\n<p>The co-occurrence network was based on Spearman correlation coefficients (SCCs) of TME cell states and cancer-cell metaprograms using their cell frequencies among samples. We used the R function \u2018cor\u2019 with the parameter \u2018use\u2019 specified as \u2018pairwise.complete.obs\u2019 to compute SCCs and statistical significance. We then used the package \u2018igraph\u2019 (v.1.5.0.1) to convert the SCC matrix to an undirected weighted network by considering TME cell states and metaprograms as nodes and SCC scores as edge widths. Only correlations with P\u2009&lt;\u20090.05 were kept for further analysis and visualization.<\/p>\n<p>Determining ecotypes of cancer metaprograms and TME cell states<\/p>\n<p>On the basis of the co-occurrence network, we performed community detection to determine the subnetworks to define the ecotypes. We first filtered out all edges having a negative SCC score. To find a proper clustering resolution to apply the function \u2018cluster_louvain\u2019 of \u2018igraph\u2019, we evaluated the number of ecotypes and the median size of ecotypes that each was a function of clustering resolution values ranging from 0.01 to 10. As the clustering resolution increased, the number of ecotypes increased and the median size of ecotypes decreased. We determined that the optimal clustering resolution value was where the two functions crossed. To alleviate the computational stochasticity of \u2018cluster_louvain\u2019, we performed clustering 1,000 times using the optimal clustering resolution value and built an instance matrix recording the number of times that any two nodes were clustered into the same ecotype. Finally, we applied the function \u2018infomap.community\u2019 of \u2018igraph\u2019 on this instance matrix to determine the communities that defined the ecotypes.<\/p>\n<p>Visualizing the co-occurrence network<\/p>\n<p>Edges with a SCC score less than 0.2 were considered spurious and were filtered out. We then heuristically changed the parameter \u2018weights\u2019 of the igraph\u2019s function \u2018layout_with_fr\u2019 to get a graph layout to visually separate the ecotypes, while the original SCCs between any two nodes were reserved. Specifically, if an edge connected two nodes that were assigned to the same ecotype, the \u2018weights\u2019 parameter was set as 18; otherwise, it was 1. This layout was used for all graph visualizations of the co-occurrence network.<\/p>\n<p>Comparing the co-occurrence network across patient categories<\/p>\n<p>To facilitate comparing the co-occurrence network across patient categories (for example, pCR and RD), we computed and visualized the relative copresence (RCOP) scores among the TME cell states and the cancer metaprograms for each patient category. In detail, using the cell frequency matrix Fij where i denoted the TME cell states and the cancer metaprograms and j denoted the patients, we calculated a z-score for each row to yield a relative cell frequency matrix Zij. Then for each patient category, we applied the following procedure to compute a category specific RCOP score matrix. The matrix Zij was subset by using the patients assigned to the specific category. The row averages of this subset matrix were calculated to yield a vector zi. To calculate the RCOP score between a pair of TME cell states and cancer metaprograms that were indexed at a and b, we computed the geometric average \\({{\\rm{e}}}^{[{\\rm{ln}}[A]+{\\rm{ln}}[B]]\/2}\\), where A\u2009=\u2009za and B\u2009=\u2009zb. RCOP was assigned zero if either A or B was negative. Last, we obtained a RCOP score matrix for each specific patient category, which was visualized on the graph of the co-occurrence network. To quantify the similarity between the graphs of two patient categories, we computed the Jaccard similarity of two graphs on the basis of their edges with a non-zero RCOP score.<\/p>\n<p>Ligand\u2013receptor analysis<\/p>\n<p>Ligand\u2013receptor analysis was performed using the CellChat package<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 71\" title=\"Jin, S. et al. Inference and analysis of cell-cell communication using CellChat. Nat. Commun. 12, 1088 (2021).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR71\" id=\"ref-link-section-d74770572e3431\" rel=\"nofollow noopener\" target=\"_blank\">71<\/a>. For each cancer-cell metaprogram and TME cell state, we randomly down-sampled to about 20% of the cells. We then performed the default CellChat workflow using the functions \u2018identifyOverExpressedGenes\u2019, \u2018identifyOverExpressedInteractions\u2019, \u2018computeCommunProb\u2019, \u2018computeCommunProbPathway\u2019 and \u2018aggregateNet\u2019. We then used the function \u2018netAnalysis_contribution_allLR\u2019 to obtain the probabilities of all ligand\u2013receptor pairs to compute the intra-ecotype and inter-ecotype signals, which were used for the downstream visualization.<\/p>\n<p>Spatial niche analysis in Xenium data<\/p>\n<p>Spatial niches were identified on the basis of the cell composition within the regions surrounding single cells. In detail, we enumerated the Xenium data of each patient and computed the percentages of all cancer-cell metaprograms and TME cell states in the regions having a radius of 30\u2009\u00b5m with single cells as the centres. Each cancer cell was labelled as the highest metaprogram with a module score greater than 0.1. This step generated a new single-cell data matrix representing the local cell composition of each cell in each sample. Then we clustered each cell composition matrix to identify niches in each sample. To speed up this clustering step, we applied the \u2018SketchData\u2019 function of the Seurat package<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 62\" title=\"Stuart, T. et al. Comprehensive integration of single-cell data. Cell 177, 1888&#x2013;1902 (2019).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR62\" id=\"ref-link-section-d74770572e3443\" rel=\"nofollow noopener\" target=\"_blank\">62<\/a> to run the clustering using \u2018FindNeighbors\u2019 on 2\u2009\u00d7\u2009105 cells in each patient and applied the \u2018ProjectData\u2019 function to provide the clusters of all cells in the sample. To avoid over-clustering, we computed the average cell percentages of these clusters that were subjected to the ConsensusClusterPlus package<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 72\" title=\"Wilkerson, M. D. &amp; Hayes, D. N. ConsensusClusterPlus: a class discovery tool with confidence assessments and item tracking. Bioinformatics 26, 1572&#x2013;1573 (2010).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR72\" id=\"ref-link-section-d74770572e3449\" rel=\"nofollow noopener\" target=\"_blank\">72<\/a> to merge similar clusters. Last, after we computed the average cell percentages for these robust clusters in each patient, we used all these clusters found in all patients to run clustering using the ConsensusClusterPlus package, which resulted in the spatial niches that were present in several samples. Each cell was assigned to a spatial niche. The average cell abundance across spatial niches was used for biological annotation and visualization. In addition, we applied the function \u2018scoloc\u2019 of the package CellTrek (v.0.0.94)<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 73\" title=\"Wei, R. et al. Spatial charting of single-cell transcriptomes in tissues. Nat. Biotechnol. 40, 1190&#x2013;1199 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR73\" id=\"ref-link-section-d74770572e3453\" rel=\"nofollow noopener\" target=\"_blank\">73<\/a> with the parameter \u2018use_method\u2019 set to \u2018DT\u2019 to compute the spatial colocalization odds ratio matrix among cell states that were averaged on the basis of the niches to run hierarchical clustering and determine the spatial relationship between niches.<\/p>\n<p>Selecting patients and treatment arms in public cohort datasets<\/p>\n<p>To obtain validation datasets that were comparable to this study, we selected the pretreatment bulk sequencing-based gene-expression datasets of patients with TNBC from four public clinical trials including SCAN-B<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 56\" title=\"Saal, L. H. et al. The Sweden Cancerome Analysis Network - Breast (SCAN-B) Initiative: a large-scale multicenter infrastructure towards implementation of breast cancer genomic analyses in the clinical routine. Genome Med. 7, 20 (2015).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR56\" id=\"ref-link-section-d74770572e3465\" rel=\"nofollow noopener\" target=\"_blank\">56<\/a> and I-SPY2<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 45\" title=\"Wolf, D. M. et al. Redefining breast cancer subtypes to guide treatment prioritization and maximize response: predictive biomarkers across 10 cancer therapies. Cancer Cell 40, 609&#x2013;623 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR45\" id=\"ref-link-section-d74770572e3469\" rel=\"nofollow noopener\" target=\"_blank\">45<\/a>, as well as BrighTNess<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 44\" title=\"Loibl, S. et al. Addition of the PARP inhibitor veliparib plus carboplatin or carboplatin alone to standard neoadjuvant chemotherapy in triple-negative breast cancer (BrighTNess): a randomised, phase 3 trial. Lancet Oncol. 19, 497&#x2013;509 (2018).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR44\" id=\"ref-link-section-d74770572e3473\" rel=\"nofollow noopener\" target=\"_blank\">44<\/a> in which patients received neoadjuvant therapy and METABRIC<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 40\" title=\"Curtis, C. et al. The genomic and transcriptomic architecture of 2,000 breast tumours reveals novel subgroups. Nature 486, 346&#x2013;352&#xA0;(2012).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR40\" id=\"ref-link-section-d74770572e3477\" rel=\"nofollow noopener\" target=\"_blank\">40<\/a> in which patients received adjuvant therapy. First, we subset the patients who were either labelled as TNBC or were negative for the expression of endoplasmic reticulum, PR and HER2 as recorded in the original clinical metadata. For METABRIC, all the treatment arms containing chemotherapy were used in all the analysis. For SCAN-B, only the chemotherapy arm was used in all the analysis. For I-SPY2 and BrighTNess, all the treatment arms containing chemotherapy were used for the application of the 13-gene model.<\/p>\n<p>Predicting the archetypes in external TNBC cohort data<\/p>\n<p>The bulk RNA-seq data matrix of an external cohort was first subjected to same rescaling step of the section \u2018Performing NMF\u2019. This rescaled matrix was then combined with the NMF input data matrix of our samples, which was an internal control. We used this combined matrix to run the same NMF procedure using the RcppML package with a rank of 4. By leveraging the archetype designation of our TNBC data, we renamed each resulting cluster to the archetype showing the highest matches. Accuracy of the prediction in each external cohort was assessed by the percentage of the predicted archetypes that matched the established archetypes in our TNBC samples.<\/p>\n<p>Survival analysis using the Cox proportional-hazards model<\/p>\n<p>To assess how numeric variables (for example, age, module score of a gene signature and risk score predicted by a model) were associated with overall survival of patients in a cohort, we applied the Cox proportional-hazards model to the variables of interest and the overall survival data. To compute a gene signature, the overall expressions in patients were computed using the function \u2018gsva\u2019 of the package \u2018GSVA\u2019<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 74\" title=\"H&#xE4;nzelmann, S., Castelo, R. &amp; Guinney, J. GSVA: gene set variation analysis for microarray and RNA-Seq data. BMC Bioinformatics 14, 7 (2013).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR74\" id=\"ref-link-section-d74770572e3497\" rel=\"nofollow noopener\" target=\"_blank\">74<\/a> (v.1.42) with the parameter \u2018method\u2019 set as \u2018ssgsea\u2019, and then the z-score was computed. We used the function \u2018coxph\u2019 of the package \u2018survival\u2019<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 75\" title=\"Therneau T. M. &amp; Grambsch P. M. Modeling Survival Data: Extending the Cox Model (Springer, 2000).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR75\" id=\"ref-link-section-d74770572e3504\" rel=\"nofollow noopener\" target=\"_blank\">75<\/a> (v.3.3) to construct the Cox proportional-hazards model. The hazard ratios and P values of the Wald test were extracted from the modelling result and visualized using the function \u2018ggforest\u2019 in the package \u2018survminer\u2019 (v.0.4.9).<\/p>\n<p>Building the cell-state-based classifier to predict NAC response<\/p>\n<p>Considering the TME cell states and cancer-cell metaprograms as features, we excluded features detected in no more than ten samples. Samples without response data were excluded from this analysis. We randomly split samples into 70% for training and 30% for testing. Because the number of features was greater than the number of training samples, we performed a preliminary feature selection by univariate logistic regression and retained the features with a P value less than 0.1. With these informative features, we used the package \u2018caret\u2019<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 76\" title=\"Kuhn, M. Building predictive models in R using the caret package. J. Stat. Softw. 28, 1&#x2013;26 (2008).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR76\" id=\"ref-link-section-d74770572e3522\" rel=\"nofollow noopener\" target=\"_blank\">76<\/a> (v.6.0-90) to train the following three models: logistic regression, linear discriminant analysis and random forest. During the training, the fivefold cross validation was repeated five times. The performance of each model was evaluated on the testing dataset and visualized by using the \u2018pROC\u2019 package<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 77\" title=\"Robin, X. et al. pROC: an open-source package for R and S+ to analyze and compare ROC curves. BMC Bioinformatics 12, 77 (2011).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR77\" id=\"ref-link-section-d74770572e3526\" rel=\"nofollow noopener\" target=\"_blank\">77<\/a> (v.1.18). The feature importance values were computed by running caret\u2019s function \u2018varImp\u2019 on each model.<\/p>\n<p>Building the gene-based classifier to predict NAC response<\/p>\n<p>We started with a pool of candidate genes that were associated with chemotherapy response using: (1) the marker genes of the cancer metaprograms and archetypes, (2) the DEGs across the TME cell states and the cancer cells labelled by the most dominant metaprogram and (3) the DEGs of the TME cell states and the cancer cells labelled by the most dominant metaprogram in a comparison of pCR and RD. Using the pseudo-bulk RNA-seq data derived from all cells, we enumerated each gene and applied univariate logistic regression to find the genes significantly predicting chemotherapy response (P\u2009&lt;\u20090.01). As a result, 13 genes were identified and then were used to build a multivariate logistic regression model to yield a risk score for predicting the likelihood of a patient having RD.<\/p>\n<p>The gene-based classifier and overall survival<\/p>\n<p>The METABRIC<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 40\" title=\"Curtis, C. et al. The genomic and transcriptomic architecture of 2,000 breast tumours reveals novel subgroups. Nature 486, 346&#x2013;352&#xA0;(2012).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR40\" id=\"ref-link-section-d74770572e3550\" rel=\"nofollow noopener\" target=\"_blank\">40<\/a> and SCAN-B<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 56\" title=\"Saal, L. H. et al. The Sweden Cancerome Analysis Network - Breast (SCAN-B) Initiative: a large-scale multicenter infrastructure towards implementation of breast cancer genomic analyses in the clinical routine. Genome Med. 7, 20 (2015).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR56\" id=\"ref-link-section-d74770572e3554\" rel=\"nofollow noopener\" target=\"_blank\">56<\/a> cohorts were used for this survival analysis. For each gene, we first rescaled its expressions among the patients in the external cohort into the value range of the expressions in our pseudo-bulk data, to mitigate possible batch effects. Then patients were stratified into high-risk and low-risk on the basis of the mean of the predicted risk scores. We used the function \u2018survfit\u2019 of the package \u2018survival\u2019<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 75\" title=\"Therneau T. M. &amp; Grambsch P. M. Modeling Survival Data: Extending the Cox Model (Springer, 2000).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR75\" id=\"ref-link-section-d74770572e3558\" rel=\"nofollow noopener\" target=\"_blank\">75<\/a> (v.3.3) to compare the difference of the overall survival curves between the two groups. The P value of the LogRank test was extracted by the function \u2018surv_pvalue\u2019. The Kaplan\u2013Meier plot was visualized by \u2018ggsurvplot\u2019 of the package \u2018survminer\u2019 (v.0.4.9).<\/p>\n<p>Gene signatures of the \u2018Vanderbilt\u2019 expression subtypes<\/p>\n<p>Because the original study of \u2018Vanderbilt\u2019 subtypes<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 9\" title=\"Lehmann, B. D. et al. Identification of human triple-negative breast cancer subtypes and preclinical models for selection of targeted therapies. J. Clin. Invest. 121, 2750&#x2013;2767 (2011).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR9\" id=\"ref-link-section-d74770572e3573\" rel=\"nofollow noopener\" target=\"_blank\">9<\/a> did not directly provide the gene signatures for each subtype, we downloaded and processed their DEG results. In detail, we retained the DEGs that were labelled as \u2018upregulated\u2019 in each subtype and had an adjusted P value of less than 0.05. The original gene alias names were converted to the updated gene symbols using the function \u2018alias2Symbol\u2019 of limma<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 78\" title=\"Ritchie, M. E. et al. limma powers differential expression analyses for RNA-sequencing and microarray studies. Nucleic Acids Res. 43, e47 (2015).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR78\" id=\"ref-link-section-d74770572e3580\" rel=\"nofollow noopener\" target=\"_blank\">78<\/a> (v.3.50.3). The resulting gene signatures are available at Zenodo (<a href=\"https:\/\/doi.org\/10.5281\/zenodo.10846115\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/doi.org\/10.5281\/zenodo.10846115<\/a>)<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 79\" title=\"Yan, Y. Gene signatures of the Vanderbilt TNBC subtypes. Zenodo &#010;                https:\/\/doi.org\/10.5281\/zenodo.10846115&#010;                &#010;               (2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#ref-CR79\" id=\"ref-link-section-d74770572e3591\" rel=\"nofollow noopener\" target=\"_blank\">79<\/a>.<\/p>\n<p>Reporting summary<\/p>\n<p>Further information on research design is available in the\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-10469-9#MOESM2\" rel=\"nofollow noopener\" target=\"_blank\">Nature Portfolio Reporting Summary<\/a> linked to this article.<\/p>\n","protected":false},"excerpt":{"rendered":"Study participant details from the ARTEMIS Trial The clinical trial protocol was reviewed and approved by The University&hellip;\n","protected":false},"author":2,"featured_media":641681,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[7966,97,1159,277106,1160,79,74788],"class_list":["post-641680","post","type-post","status-publish","format-standard","has-post-thumbnail","category-health","tag-breast-cancer","tag-health","tag-humanities-and-social-sciences","tag-medical-genomics","tag-multidisciplinary","tag-science","tag-tumour-heterogeneity"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/posts\/641680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/comments?post=641680"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/posts\/641680\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/media\/641681"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/media?parent=641680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/categories?post=641680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/tags?post=641680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}