Skip to content

Commit

Permalink
feat: Return x values from getTxDensity
Browse files Browse the repository at this point in the history
For inclusion in MultiQC reports
  • Loading branch information
edmundmiller committed Sep 27, 2024
1 parent 8afc8a6 commit a78682b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/getTxDensity.R
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ getTxDensity <- function(tx, annox, plot=TRUE, scale=1000L, nSampling=0L,
TP <- trap.rule(1:scale, profile[(scale+1):(scale*2)])/scale
PostTTS <- trap.rule(1:scale, profile[(scale*2+1):(scale*3)])/scale
TUA <- (TP + (TP- FivePrimeFP))/(1 + TP)
return(list(FivePrimeFP=FivePrimeFP, TP=TP, PostTTS=PostTTS, TUA=TUA))

x_values <- -(up*scale):(down*scale-1)
return(list(FivePrimeFP=FivePrimeFP, TP=TP, PostTTS=PostTTS, TUA=TUA, x=x_values, profile=profile))
}

getWP <- function (lv, lw) {
Expand Down
2 changes: 1 addition & 1 deletion conda.recipe/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
schema_version: 1

context:
version: 1.36.1
version: 1.37.0
name: groHMM
bioc: 3.18

Expand Down

0 comments on commit a78682b

Please sign in to comment.