Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ITMIO

Intratumoral Microbiome with Survival Analysis based on immune checkpoint inhibitor (ICI) therapy alone or ICI plus chemo

This code base supports the JCO 2024 manuscript by Elkrief A. et al. and is used to generate the figures and calculate relevant statistics.

The input file types used are documented in prepare_data.R, filenames are in quotations, explicity column names are in parentheses:

  1. cohort file "pdl1cohort_file" which lists the unique patient samples keyed to column sample (DMP_ASSAY_ID). The file contains: a) survival data; including patient age at diagnosis, progression free survival (pfs_mo), overall survival (os_mo) b) cancer specific treatment c) factors for multivariate analysis; ecog status (ecog), pdl1 IHC results (percent_pd_l1), tumor mutation burden (TMB), histology (type_coded), line of therapy(line_of_therapy_coded)

  2. microbiome file "all_microbiome_file" which lists all microbes identified in samples keyed to sample (DMP_ASSAY_ID) and taxonomy of reads specific to a microbe (tax_name). Unique sample level microbe factors are: a) genus (genus_name) b) species (species_name) c) Number of unique paired read for taxonomy (readcount) d) bacteria vs fungi vs virus (type)

  3. all samples file "all_samples_file" contains sample level information: tumor histology (GeneralTumorType, DetailedTumorType), primary vs metastasis (sample_type)

  4. Date of procedure "pdl1cohort_dop_file" contains date that tissue is obtained indexed to "DMP_ASSAY_ID"

  5. No template control (NTC) DB file "ntx_complete_DB_file" is the analogous file to "all_microbiome_file" that contain microbial reads from the no template control from all runs of NGS sequencing. This file is used to understand the underlying contamination of reagents as the well contains no template DNA from samples or other sources. NTC is use to set thresholds for levels of contamination.

A file called "finaljoin.txt" is required to convert "all_microbiome_file" to genus and species specific files need. The "finaljoin.txt" is a derivative of the taxonomy databased downloaded from https://www.ncbi.nlm.nih.gov/taxonomy. The file is too large to host on github. Please email [email protected] for access to "finaljoin.txt" file.

Libraries required can be installed by executiing install.R. The packages used require R version >= 4.0.

All data and libraries are loaded through prepare_data.R so to use own data, the path to files must be manually mapped in prepare_data.R file. Prepare data is ran for all subsequent scripts and executed from source after being updated.

Executable in the package are used for statistics and generating all figures in manuscript, listed alphabetically:

  1. "descriptive.R" generates descriptive statistics of cohorts as tables.

  2. "ntc.R" generates plot showing the leveal of Escherichia sp. reads in NTC by version of IMPACT.

  3. "rnaseq.R" generates volcano plots and pathway enrichment analyses comparing gene expression increases in Escherichia sp. positive vs. negative samples.

  4. "survival.R" performs Kaplan-Meyer (KM) survival analysis comparing pfs and os in Escherichia sp. positive vs. negative samples both in setting of ICI only and ICI plus chemo therapy. KM Univariable analysis with tables and multivariable analysis with forest plot outputs are also generated.

About

Intratumoral Microbiome with Survival Analysis

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages