Skip to content

Commit 70eb7a8

Browse files
committed
#48: Adding "Exon Events" sheet to XLSX output
1 parent e725da1 commit 70eb7a8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

scripts/exon_usage_circtools_wrapper.R

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,16 @@ writeDataTable( wb,
489489
x=circTestSummary[grep("not_annotated",circTestSummary[,"Gene"]),]
490490
)
491491

492+
new_sheet <- splicedExonDF[order(splicedExonDF[,"Pval"]),]
493+
new_sheet <- merge(new_sheet,topSplicedGenesMartDCC,by.x=2,by.y=2)
494+
new_sheet <- new_sheet[order(new_sheet[,"Pval"]),]
495+
496+
addWorksheet(wb, sheetName = "Exon events")
497+
writeDataTable( wb,
498+
sheet = 4,
499+
x=new_sheet
500+
)
501+
492502
# close workbook
493503
saveWorkbook(wb, paste(baseDir,"diff_exon_enrichment.xlsx",sep=""), overwrite = TRUE)
494504

0 commit comments

Comments
 (0)