Here, we analyze differentially abundant proteins. We are interested in colon adenocracinoma (COAD) from the National Cancer Institutes (NCI) Clinical Proteomic Tumor Analysis Consortium (CPTAC) which accelerate the understanding of the molecular basis of cancer through the application of large-scale proteome and genome analysis, or proteogenomics (https://linkedomics.org/cptac-colon/). Normalized log2 protein abundance ratios are available for 8,097 proteins across 97 tumor samples (Pacific Northwest National Laboratory, PNNL; gene-level quantification based on unshared peptides).These data were generated using Tandem Mass Tag (TMT)-based mass spectrometry. Proteins are first digested into peptides using trypsin. Peptides from each biological sample and a common pooled reference sample are labeled with different isobaric chemical tags and subsequently combined. Peptides are identified by LC-MS/MS and quantified relative to the reference sample using sample-specific reporter ion intensities. Relative protein abundances are determined by aggregating abundance ratios of peptides uniquely mapping to the respective protein or gene. Protein abundance ratios are log2-transformed and normalized using gene-level median centering (row-wise) followed by sample-level median centering (column-wise). The resulting data matrix contains normalized log2 relative protein abundance ratios.
Vasaikar S, et al. (2019). Proteogenomic Analysis of Human Colon Cancer Reveals New Therapeutic Opportunities. Cell, 177(4), 1035–1049.e19. https://doi.org/10.1016/j.cell.2019.03.030, https://pdc.cancer.gov/pdc/study/PDC000116
The final aim is to identify significant differentially abundant proteins between microsatellite high (MSI-H) and microsatellite stable primary colon adenocarcinoma samples.
Include all R and Bioconductor packages
library(conflicted)
library(readr)
library(tidyverse)
library(writexl)
library(limma)
library(EnhancedVolcano)
conflicts_prefer(dplyr::filter)
conflicts_prefer(dplyr::select)
Set your preferred working directory and data resource
di<-"L:/MO/" # set directory path
setwd(di) # set current directory
url <- "https://linkedomics.org/cptac-colon/" # URL to access CPTAC
From Tandem Mass Tag (TMT)-based mass spectrometry analyses load normalized log2 protein abundance ratios
COAD_PROT_TUMOR <- read_tsv(paste0(url, "Human__CPTAC_COAD__PNNL__Proteome__TMT__03_01_2017__BCM__Gene__PNNL_Tumor_TMT_UnsharedLogRatio.cct"))
COAD_PROT_DF<-COAD_PROT_TUMOR |>
column_to_rownames("attrib_name") |>
as.data.frame()
Protein data COAD_PROT_DF has this format:
COAD_PROT_DF |>
select(1:8) |>
slice_head(n = 100)
Get clinical information from the CPTAC COAD cohort, particularly for microsatellite instability (Mutation_Phenotype)
COAD_CLIN <- read_tsv(paste0(url,"Human__CPTAC_COAD__MS__Clinical__Clinical__03_01_2017__CPTAC__Clinical__BCM.tsi"))
COAD_CLIN_T <- COAD_CLIN |>
column_to_rownames("attrib_name") |>
t() |> # transpose columns and rows
as.data.frame() |>
rownames_to_column("PATID")
COAD_MSI <- COAD_CLIN_T |>
select(PATID, Mutation_Phenotype)
Mutation phenotype data COAD_MSI has this format:
COAD_MSI |>
select(1:2) |>
slice_head(n = 100)
Filter for MSI-H and MSS samples and match protein data and mutation phenotype data by patient ID
common_ids <- intersect( colnames(COAD_PROT_DF), COAD_MSI[which(!is.na(COAD_MSI$Mutation_Phenotype)),"PATID"])
COAD_PROT_DF_SEL<-COAD_PROT_DF[,common_ids]
COAD_MSI_SEL<-COAD_MSI |>
filter(PATID %in% common_ids)
# table(COAD_MSI_SEL$Mutation_Phenotype)
MSS_ids <- COAD_MSI_SEL |>
filter(Mutation_Phenotype == "MSS") |>
pull(PATID) # get vector of patient ids with MSS tumors
MSIH_ids <- COAD_MSI_SEL |>
filter(Mutation_Phenotype == "MSI-H") |>
pull(PATID) # get vector of patient ids with MSI-H tumors
PAT<-c(MSIH_ids,MSS_ids)
COAD_PROT<-COAD_PROT_DF_SEL[,PAT]
Final protein matrix (data frame)
COAD_PROT |>
select(1:8) |>
slice_head(n = 10)
Differential protein abundance analysis is performed using limma (Linear Models for Microarray Data), which was originally developed for microarray gene expression analysis but is also applicable to continuous log2-transformed proteomics data. Limma fits a linear model for each protein, assuming approximately normally distributed residuals, and applies empirical Bayes moderation to stabilize protein-specific variance estimates and improve statistical inference.
Define a factor variable called group assigning the phenotype
group <- factor(c(rep("MSI-H", length(MSIH_ids)),rep("MSS", length(MSS_ids))),levels = c("MSS", "MSI-H"))
group
## [1] MSI-H MSI-H MSI-H MSI-H MSI-H MSI-H MSI-H MSI-H MSI-H MSI-H MSI-H MSI-H
## [13] MSI-H MSI-H MSI-H MSI-H MSI-H MSI-H MSI-H MSI-H MSI-H MSI-H MSS MSS
## [25] MSS MSS MSS MSS MSS MSS MSS MSS MSS MSS MSS MSS
## [37] MSS MSS MSS MSS MSS MSS MSS MSS MSS MSS MSS MSS
## [49] MSS MSS MSS MSS MSS MSS MSS MSS MSS MSS MSS MSS
## [61] MSS MSS MSS MSS MSS MSS MSS MSS MSS MSS MSS MSS
## [73] MSS MSS MSS MSS MSS MSS MSS MSS MSS MSS MSS MSS
## [85] MSS MSS MSS MSS MSS MSS MSS MSS MSS MSS MSS
## Levels: MSS MSI-H
Filter for proteins present in at least 70% in both conditions/phenotypes (MSI-H and MSS)
keep <- rowMeans(!is.na(COAD_PROT[, MSIH_ids])) >= 0.7 & rowMeans(!is.na(COAD_PROT[, MSS_ids])) >= 0.7
COAD_PROT_FILT <- COAD_PROT[keep, ]
#dim(COAD_PROT_FILT)
Make a design matrix and define contrast
design <- model.matrix(~ 0 + group)
design[20:25,]
## groupMSS groupMSI-H
## 20 0 1
## 21 0 1
## 22 0 1
## 23 1 0
## 24 1 0
## 25 1 0
colnames(design) <- c("MSS", "MSIH")
rownames(design) <- PAT
contrast <- makeContrasts(MSIH - MSS,levels = design)
Fit a linear model
fit <- lmFit(as.matrix(COAD_PROT_FILT), design)
fit <- contrasts.fit(fit, contrast)
fit <- eBayes(fit) # empirical Bayes moderation
Get a list of differentially abundant proteins
DE_PROT <- topTable(fit,number = Inf,adjust.method = "BH")
write_xlsx(DE_PROT |> rownames_to_column("GeneSymbol"),"CPTAC_COAD_MSIH_vs_MSS_limma.xlsx")
write_tsv(DE_PROT |> rownames_to_column("GeneSymbol"),"CPTAC_COAD_MSIH_vs_MSS_limma.tsv")
Get a list of significantly differentially abundant proteins more than two-fold change and FDR<0.1
DE_PROT_SIG <- DE_PROT |>
dplyr::filter(abs(logFC) > 1, adj.P.Val < 0.1) |>
arrange(desc(logFC)) # sort descending by log2FC
write_xlsx(DE_PROT_SIG |> rownames_to_column("GeneSymbol"),"CPTAC_COAD_MSIH_vs_MSS_limma_significant.xlsx")
write_tsv(DE_PROT_SIG |> rownames_to_column("GeneSymbol"),"CPTAC_COAD_MSIH_vs_MSS_limma_significant.tsv")
Final list of significantly differentially abundant proteins
head(DE_PROT_SIG)
Generate volcano plot (log2FC vs -log10FDR) using EnhancedVolcano and save in png format
png("VOLCANO_CPTAC_COAD_MSIH_MSS.png", units="in", width=10, height=10, res=600,pointsize = 6)
DFR1<-data.frame(LOG2FC=DE_PROT$logFC, P=DE_PROT$P.Value, FDR=DE_PROT$adj.P.Val)
row.names(DFR1)<-row.names(DE_PROT)
indh<-which((DFR1$P<10^-4) & (DFR1$LOG2FC>1.0 | DFR1$LOG2FC< -1.0 ))
keyvals <- ifelse((DFR1$LOG2FC < -1 & DFR1$FDR<0.1) , 'royalblue',ifelse((DFR1$LOG2FC > 1 & DFR1$FDR<0.1), 'red','darkgray'))
names(keyvals)[keyvals == 'darkgray'] <- 'NS'
names(keyvals)[keyvals == 'red'] <- 'up (>2FC, FDR<0.1)'
names(keyvals)[keyvals == 'royalblue'] <- 'down (>2FC, FDR<0.1)'
lab_italics <- rownames(DFR1)
selectLab_italics = row.names(DE_PROT)[indh]
print(EnhancedVolcano(DFR1,selectLab = selectLab_italics, lab=lab_italics, xlim=c(-3,3), ylim=c(0,16), pCutoff = 0.1,
title = 'CPTAC COAD MSI-H vs MSS',titleLabSize=25,xlab = bquote(Log[2]~"fold change"),ylab = bquote(-Log[10]~FDR),
FCcutoff = 1.0, pointSize = 3.0,labSize = 6.0,labCol = 'black', labFace = 'bold', parseLabels = TRUE,
boxedLabels = TRUE,colAlpha = 4/5,legendPosition = 'top', legendLabSize = 20, legendIconSize = 4.0,
arrowheads = FALSE, colCustom = keyvals, drawConnectors = TRUE,
subtitle = "Differential protein expression", subtitleLabSize=20,
caption=paste("total: ",nrow(DFR1)," proteins",sep=""),captionLabSize = 20,
widthConnectors = 0.5,colConnectors = 'black',x='LOG2FC',y='FDR',axisLabSize = 20))
dev.off()
## png
## 2