Skip to content

Commit 52f94e0

Browse files
committed
[feat] update R source
1 parent 2e8b17d commit 52f94e0

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

figR/ExtFig10.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
library(networkD3)
22
library(htmlwidgets)
33

4-
########## ExtFig. 10: Reannotation of previously reported cis- and trans-spliced pMHC-I peptides ##########
4+
########## ExtFig. 10: Reannotation of previously reported cis- and trans-spliced pMHC-I sequences ##########
55
## deconvolution of locations
66
# after removing values below cutoff
77
# run annotate function in PepQueryMHC
8-
annotations <- read_excel("SupplementaryTable5.xlsx", sheet = "C1R_Top_annotation")
8+
annotations <- read_excel("SupplementaryTable5.xlsx", sheet = "Top annotation")
99

1010
# drop null
1111
annotations <- annotations[annotations$Comparison != "Not found", ]

figR/ExtFig7,8.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ source("Color.R")
1111

1212
########## ExtFig. 7,8: Overall expression across the tumor antigens ##########
1313
tumor_antigens <- read_excel(path = "SupplementaryTable3.xlsx", sheet = "final tumor antigens (PQM)")
14-
cutoff_1p <-read_excel(path = "SupplementaryTable3.xlsx", sheet = "p-value cutoff (log2(RPHM+1))")
14+
cutoff_1p <-read_excel(path = "SupplementaryTable3.xlsx", sheet = "cutoff (log2(RPHM+1))")
1515

1616

1717
### Extend version

figR/Fig2a.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ source("Color.R")
1010

1111
pepquerymhc_tumor_antigens <- read_excel(path = "SupplementaryTable3.xlsx", sheet = "final tumor antigens (PQM)")
1212
bamquery_tumor_antigens <- read_excel(path = "SupplementaryTable3.xlsx", sheet = "final tumor antigens (BQ)")
13-
cutoff_1p <-read_excel(path = "SupplementaryTable3.xlsx", sheet = "p-value cutoff (log2(RPHM+1))")
1413

1514
########## Fig. 2a: Tumor antigen heatmap ##########
1615
dev.off()

figR/Fig2d,e.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ library(tidyr)
99
source("Color.R")
1010

1111
########## Fig. 2d: Proportion of type ##########
12-
annotations <- read_excel("SupplementaryTable5.xlsx", sheet = "C1R_Top_annotation")
12+
annotations <- read_excel("SupplementaryTable5.xlsx", sheet = "Top annotation")
1313

1414
annotations$Category <- "Reference"
1515
annotations[annotations$`PepQueryMHC:Unique_class_code` != "PC", ]$Category <- "Non-reference"
@@ -55,7 +55,7 @@ ggsave(filename = "Fig2d.png", plot = plot_time_top, height = 7, width = 1.8, dp
5555
########## Fig.2e: RPHM value per each peptide ##########
5656
pepquerymhc <- read_excel("SupplementaryTable5.xlsx", sheet = "PepQueryMHC")
5757
bamquery <- read_excel("SupplementaryTable5.xlsx", sheet = "BamQuery")
58-
cutoffs <- read_excel("SupplementaryTable3.xlsx", sheet = "p-value cutoff (log2(RPHM+1))")
58+
cutoffs <- read_excel("SupplementaryTable3.xlsx", sheet = "cutoff (log2(RPHM+1))")
5959
input_data <- read_excel("SupplementaryTable1.xlsx", sheet = "Spliced-MHC-I")
6060
names(input_data)[names(input_data) == 'Sequence'] <- "DeNovoSequence"
6161

0 commit comments

Comments
 (0)