Coder Social home page Coder Social logo

babar's Introduction

BaBaR - Bayesian Bacterial growth curve analysis in R

This is the code repository for the babar package. For examples of use, see:

Building and installing

This section describes the process for installing the package from source.

Prerequisites

To build the package, make sure that your version of R has the following packages (needed to build the package vignettes):

  • knitr
  • R.rsp

You can install these from the R command prompt with:

install.packages(c('R.rsp', 'knitr'))

Build and install

To build the package (including vignettes), from the command prompt type:

R CMD build babar

Then to install:

R CMD INSTALL babar_1.0.tar.gz

Viewing the installed documentation

You can browse the package vignettes with:

browseVignettes(package='babar')

from within R.

Generating documentation

Code functions are documented using inlinedocs. To rebuild the documentation:

install.packages('inlinedocs')
library(inlinedocs)
package.skeleton.dx('babar')

Generating the vignettes

Compile in R using:

knit("worksheet1.Rnw")

or from the shell:

R -e 'library(knitr); knit("doc/worksheet1.Rnw");'

then run pdflatex (twice) on the resulting .tex file. Generally you can ignore the warnings if the PDF looks fine.

babar's People

Contributors

mrmh2 avatar nstjhp avatar matthewh-ebi avatar

Stargazers

Peter Tonner avatar

Watchers

James Cloos avatar  avatar

babar's Issues

Converting Mu max to Log10 scale

Hi,

If I understand correctly, the babar package returns the estimated growth parameters on ln scale. Now I want to convert the obtained growth rate (mu max) to Log10 scale to be able to compare it with other data calculated on the respective scale. Is it possible to convert the growth rate between both scales (ln and log10) and if yes, how?

Rickett's 2015 supplemental material describes the following (p 7): 'We note that although that the bacterial concentration is transformed to the ln x scale for use in the model, all results are transformed back afterwards to the log 10 x scale.'

Thanks in advance for your response!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.