Skip to content

Commit

Permalink
add SYSUCC label; rearrange dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
bioinformatist committed Jul 28, 2017
1 parent d5be92d commit 80c065c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file modified images/met_VS_tum.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions scriptsWithData/tumor_vs_met/Tumor vs Met.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ memoSort <- function(M) {


#read data
met <- fread('scriptsWithData/tumor_vs_met/All_metastasis_filter_mut.maf')
tum <- fread('scriptsWithData/tumor_vs_met/All_primary_filter_mut.maf')
met <- fread('scriptsWithData/tumor_vs_met/All_metastasis_filter_mut.maf')[,Tumor_Sample_Barcode := paste0('SYSUCC_', Tumor_Sample_Barcode)]
tum <- fread('scriptsWithData/tumor_vs_met/All_primary_filter_mut.maf')[,Tumor_Sample_Barcode := paste0('SYSUCC_', Tumor_Sample_Barcode)]

#retain mutations potentially functionally
retaind_features=c("frameshift deletion","frameshift insertion","stopgain","nonsynonymous SNV","splicing","stoploss")
Expand Down Expand Up @@ -62,7 +62,7 @@ oncomatrix=oncomatrix[,-1]
oncomatrix=memoSort(oncomatrix!=0)


mutations$Samples=factor(mutations$Samples,levels =unique(colnames(oncomatrix)) )
mutations$Samples=factor(mutations$Samples,levels =unique(colnames(oncomatrix)))

mbar <- ggplot() +
geom_col(data = mutations, aes(x = Samples, y = value, fill = Types)) +
Expand Down

0 comments on commit 80c065c

Please sign in to comment.