This is a code deposit for paper: A novel strategy for single-cell metabolic analysis highlights dynamic changes in immune subpopulations We use the circlize[1] package to draw the following chord graphs with R scripts
- Fig.1d Untreated PBMC celltype markers vs Metabolic markes plot: The spearman correlation value was calculated by the gMFI between each metabolic protein and each immune cell subset markers. It is between a cell type vs all others ( e.g. T CD8+ vs All Others cells ) by gMFI of each marker. Negative values of gMFI are replaced as 0 in the dataset (gMFI_data_Untreated.xlsx) before the spearman calculation. The
- Fig.2c T cell Immuno vs Metabolic markers plot: Calculate the difference of CD4+ gMFI between activated and untreated T cells for each metabolic protein and each immune marker. Then we get the the spearman correlation between those metabolic and immune markers.