Skip to content

Commit

Permalink
biasAndPeakCancel
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesbecher committed Jul 22, 2022
1 parent 5c29103 commit c49c4c7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Tetmer/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: Tetmer
Type: Package
Title: Fitting Population Parameters to k-mer Spectra
Version: 2.2.1
Version: 2.3.0
Author: Hannes Becher
Maintainer: Hannes Becher <hannesbecher@gmail.com>
Description: A shiny app for fitting population parameters to k-mer spectra generated from whole-genome DNA sequencing data.
Expand Down
18 changes: 9 additions & 9 deletions Tetmer/R/formulae.R
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
probsDip <- expression(rbind(
dnbinom(txmin:txmax, tkcov/tbias*1, mu = tkcov * 1),
dnbinom(txmin:txmax, tkcov/tbias*2, mu = tkcov * 2)
dnbinom(txmin:txmax, tkcov/tbias, mu = tkcov * 1),
dnbinom(txmin:txmax, tkcov/tbias, mu = tkcov * 2)
))

probsTri <- expression(rbind(
dnbinom(txmin:txmax, tkcov/tbias*1, mu = tkcov * 1),
dnbinom(txmin:txmax, tkcov/tbias*2, mu = tkcov * 2),
dnbinom(txmin:txmax, tkcov/tbias*3, mu = tkcov * 3)
dnbinom(txmin:txmax, tkcov/tbias, mu = tkcov * 1),
dnbinom(txmin:txmax, tkcov/tbias, mu = tkcov * 2),
dnbinom(txmin:txmax, tkcov/tbias, mu = tkcov * 3)
))

probsTet <- expression(rbind(
dnbinom(txmin:txmax, tkcov/tbias*1, mu = tkcov * 1),
dnbinom(txmin:txmax, tkcov/tbias*2, mu = tkcov * 2),
dnbinom(txmin:txmax, tkcov/tbias*3, mu = tkcov * 3),
dnbinom(txmin:txmax, tkcov/tbias*4, mu = tkcov * 4)
dnbinom(txmin:txmax, tkcov/tbias, mu = tkcov * 1),
dnbinom(txmin:txmax, tkcov/tbias, mu = tkcov * 2),
dnbinom(txmin:txmax, tkcov/tbias, mu = tkcov * 3),
dnbinom(txmin:txmax, tkcov/tbias, mu = tkcov * 4)
))


Expand Down
2 changes: 1 addition & 1 deletion Tetmer/R/tetmer.R
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ tet.server <- function(input, output) {


makeUI <- function(){
fluidPage(titlePanel("Tetmer v2.2.0"),
fluidPage(titlePanel("Tetmer v2.3.0"),
"Fitting population paramters to k-mer spectra (by Hannes Becher)",
fluidRow(
column(8, plotOutput('plot')),
Expand Down
1 change: 1 addition & 0 deletions Tetmer/Tetmer.Rproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ StripTrailingWhitespace: Yes

BuildType: Package
PackageUseDevtools: Yes
PackageCleanBeforeInstall: Yes
PackageInstallArgs: --no-multiarch --with-keep.source

0 comments on commit c49c4c7

Please sign in to comment.