Skip to content

Commit

Permalink
version 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
thibautlavole committed Jun 23, 2021
1 parent cae4ce1 commit ed2f26a
Show file tree
Hide file tree
Showing 4 changed files with 459 additions and 280 deletions.
5 changes: 4 additions & 1 deletion RefFiles/SPiP_libs/SPiP_functions.r
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,10 @@ SPiP <- function(data){
data$classProbaCryptWT[data$SPiPscore>thToSPiPexon & as.numeric(regexpr("Exon",data$RegType))>0],
data$DistSS[data$SPiPscore>thToSPiPexon & as.numeric(regexpr("Exon",data$RegType))>0],
data$deltaESRscore[data$SPiPscore>thToSPiPexon & as.numeric(regexpr("Exon",data$RegType))>0]))
data$InterConfident = unlist(mapply(getPredConfident, data$RegType, data$DistSS, data$SPiPscore))

data$Interpretation[data$SPiPscore<thToComplexEvent & data$Interpretation=="Alter by complex event"] = "NTR"

data$InterConfident = unlist(mapply(getPredConfident, data$RegType, data$DistSS, data$SPiPscore))
oldNames = names(data)[-which(names(data)%in%c("varID", "Interpretation", "InterConfident", "SPiPscore", "chr", "strand", "gNomen", "varType", "ntChange", "ExonInfo", "exonSize", "transcript",
"gene", "NearestSS", "DistSS", "RegType", "seqPhysio", "seqMutated", "SPiCEproba", "SPiCEinter_2thr", "deltaMES", "BP", "mutInPBarea", "deltaESRscore",
"posCryptMut", "sstypeCryptMut", "probaCryptMut", "classProbaCryptMut", "nearestSStoCrypt", "nearestPosSStoCrypt", "nearestDistSStoCrypt", "posCryptWT",
Expand Down
Loading

0 comments on commit ed2f26a

Please sign in to comment.