Last updated: 2023-12-05

Checks: 1 1

Knit directory: mi_spatialomics/

This reproducible R Markdown analysis was created with workflowr (version 1.7.1). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


The R Markdown file has unstaged changes. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run wflow_publish to commit the R Markdown file and build the HTML.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version 5dee03d. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .DS_Store
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/
    Ignored:    analysis/.DS_Store
    Ignored:    analysis/.Rhistory
    Ignored:    analysis/deprecated/.DS_Store
    Ignored:    analysis/molecular_cartography_python/.DS_Store
    Ignored:    analysis/molecular_cartography_python/figures/
    Ignored:    analysis/seqIF_python/.DS_Store
    Ignored:    data/.DS_Store
    Ignored:    data/140623.calcagno_et_al.seurat_object.rds
    Ignored:    data/Calcagno2022_int_logNorm_annot.h5Seurat
    Ignored:    data/mol_cart.heart_regions/
    Ignored:    data/pixie.cell_table_size_normalized_cell_labels.csv
    Ignored:    data/results_cts_100.sqm
    Ignored:    data/seqIF_regions_annotations/
    Ignored:    data/seurat/
    Ignored:    figures/.DS_Store
    Ignored:    figures/Figure_5.pathway_plot.pdf
    Ignored:    figures/Figure_5.pca_plot.pdf
    Ignored:    figures/Figure_5.pca_plot.png
    Ignored:    figures/Figure_5.volcano_plot.pdf
    Ignored:    figures/Figure_5.vwf_expression_plot.pdf
    Ignored:    figures/Figure_5.vwf_specificity_plot.pdf
    Ignored:    figures/Supplementary_figure_3.segmentation_metrics.eps
    Ignored:    figures/Supplementary_figure_3.segmentation_metrics.png
    Ignored:    figures/figures.supplementary_figure4.png
    Ignored:    figures/mol_cart.Figure_2.gains.pdf
    Ignored:    figures/mol_cart.Figure_2.misty_gains.pdf
    Ignored:    figures/mol_cart.Myeloid_distribution.png
    Ignored:    figures/mol_cart.Nppa_distribution.eps
    Ignored:    figures/mol_cart.Nppa_distribution.pdf
    Ignored:    figures/mol_cart.Nppa_distribution.png
    Ignored:    figures/supplementary_figure4.cell_type_distributions.eps
    Ignored:    figures/supplementary_figure4.cell_type_distributions.png
    Ignored:    output/.DS_Store
    Ignored:    output/mol_cart.harmony_object.h5Seurat
    Ignored:    output/mol_cart/
    Ignored:    output/molkart_cell_types/
    Ignored:    output/proteomics/
    Ignored:    output/seqIF/
    Ignored:    plots/.DS_Store
    Ignored:    plots/Figure1.umap_plot.pdf
    Ignored:    plots/Figure3.ccr2_monomacro_regions.pdf
    Ignored:    plots/Figure3.cell_types_overtimes.pdf
    Ignored:    plots/Figure3.pixel_clusters_overtimes.pdf
    Ignored:    plots/mol_cart.Figure_2.ct_percentage.pdf
    Ignored:    plots/molkart.squidpy.co_occurrence_plot.CMs_Nppa.sample_2d_r1_s1.png
    Ignored:    plots/molkart.squidpy.co_occurrence_plot.CMs_Nppa.sample_2d_r2_s1.png
    Ignored:    plots/molkart.squidpy.co_occurrence_plot.CMs_Nppa.sample_control_r1_s1.png
    Ignored:    plots/molkart.squidpy.co_occurrence_plot.CMs_Nppa.sample_control_r2_s1.png
    Ignored:    plots/molkart.squidpy.co_occurrence_plot.Endocardial_cells.sample_2d_r1_s1.png
    Ignored:    plots/molkart.squidpy.co_occurrence_plot.Endocardial_cells.sample_2d_r2_s1.png
    Ignored:    plots/molkart.squidpy.co_occurrence_plot.Endocardial_cells.sample_control_r1_s1.png
    Ignored:    plots/molkart.squidpy.co_occurrence_plot.Endocardial_cells.sample_control_r2_s1.png
    Ignored:    plots/molkart.squidpy.co_occurrence_plot.Myeloid_cells.sample_2d_r1_s1.png
    Ignored:    plots/molkart.squidpy.co_occurrence_plot.Myeloid_cells.sample_2d_r2_s1.png
    Ignored:    plots/molkart.squidpy.co_occurrence_plot.Myeloid_cells.sample_control_r1_s1.png
    Ignored:    plots/molkart.squidpy.co_occurrence_plot.Myeloid_cells.sample_control_r2_s1.png
    Ignored:    plots/molkart.squidpy.nhood_enrichment_plot.sample_2d_r1_s1.png
    Ignored:    plots/molkart.squidpy.nhood_enrichment_plot.sample_2d_r2_s1.png
    Ignored:    plots/molkart.squidpy.nhood_enrichment_plot.sample_control_r1_s1.png
    Ignored:    plots/molkart.squidpy.nhood_enrichment_plot.sample_control_r2_s1.png
    Ignored:    references/.DS_Store
    Ignored:    renv/library/
    Ignored:    renv/staging/

Untracked files:
    Untracked:  analysis/molecular_cartography_python/animation.gif
    Untracked:  analysis/molecular_cartography_python/kuppe_heart19.h5ad
    Untracked:  analysis/molecular_cartography_python/mol_cart.plot_points_on_mask.ipynb
    Untracked:  analysis/molecular_cartography_python/mol_cart.spot_animation.ipynb
    Untracked:  analysis/molecular_cartography_python/molkart.local_analysis_lianaplus.ipynb
    Untracked:  analysis/plots/
    Untracked:  pipeline_configs/

Unstaged changes:
    Modified:   analysis/data_processing.Rmd
    Modified:   analysis/figures.Figure1.Rmd
    Modified:   analysis/figures.Figure2.Rmd
    Modified:   analysis/figures.deep_visual_proteomics.Rmd
    Modified:   analysis/figures.supplementary_figure_X.proteomics_qc.Rmd
    Modified:   analysis/index.Rmd
    Modified:   analysis/mol_cart.molkart.process_quantifications_seurat.Rmd
    Modified:   analysis/seqIF.region_quantification.Rmd
    Modified:   analysis/spatialMI_functions.py
    Modified:   code/functions.R
    Modified:   figures/Figure_5.eps
    Modified:   figures/Figure_5.pdf
    Modified:   figures/Figure_5.png
    Modified:   figures/Figure_5.svg
    Modified:   figures/Supplementary_figure_2.png
    Modified:   figures/Supplementary_figure_5.segmentation_metrics.poster.eps
    Modified:   figures/Supplementary_figure_X.proteomics.eps
    Modified:   figures/Supplementary_figure_X.proteomics.png
    Modified:   plots/Figure1.dotplot.pdf
    Modified:   renv.lock
    Modified:   renv/activate.R
    Modified:   renv/settings.json

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/index.Rmd) and HTML (docs/index.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
html 67e546d FloWuenne 2023-07-23 Build site.
html 3b5ca40 FloWuenne 2023-06-12 Added code for supplementary Figures.
html 51754b9 FloWuenne 2023-06-12 Build site.
html 09358ac FloWuenne 2023-06-12 Build site.
Rmd 576e518 FloWuenne 2023-06-12 wflow_publish("analysis/index.Rmd")
html 8ef6779 FloWuenne 2023-06-12 Build site.
Rmd 0c01112 FloWuenne 2023-06-12 wflow_publish(c("analysis/about.Rmd", "analysis/index.Rmd", "analysis/license.Rmd"))
Rmd 9e88e37 FloWuenne 2023-06-12 Start workflowr project.

Introduction

Data setup

All scripts in this repository assume that this repository is in the same folder as the /data directory, containing all the data on Synapse. Data directory structure can be set up using the Synapse command-line interface with the following command, which will download all of the raw data.

`synapse get -r syn51449054 `

For more options to download the data within Synapse, you can select Download Options in the Synapse project and check out Programmatic options. This will allow to also download the data directly using R and Python.

You can then clone this repository alongside the data repository from Synapse:

git clone https://github.com/SchapiroLabor/MI_infiltration_imaging.git

Data processing

Pipelines used to process the imaging data

Imaging data in this study was processed using nextflow based pipelines designed for the specific data type. Links to the original pipeline repositories is provided below. Config files and specifications for running each pipeline to process the data is provided in this repository under : ./pipeline_configs

  • Processing of Molecular Cartography was done using nf-core/molkart.
  • Processing of SeqIF (Lunaphore COMET) data was done using MCMICRO.

For more details on data processing, go to Data processing.

Data availability

All raw images and processed data is available from Synapse: Highly-multiplexed imaging of immune cell infiltration routes in myocardial infarction.

Citation

Please cite our preprint if using any of the data used in study: