knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of {biochemr}
is to create a user-friendly one-stop-shop interface to a range of R packages to help with reproducible analysis of common biochemistry experiments.
{biochemr}
provides a common and consistent interface to a range of packages for analysis of results, following the {tidyverse}
conventions to make most things easier, at the cost of making some niche things harder.
The documentation and tutorials that make up {biochemr}
assume the user will have very little experience with R and programming in general - placing emphasis on newcomer friendly documentation over brevity.
And the development version from GitHub with:
# install.packages("devtools") devtools::install_github("BradyAJohnston/biochemr")
Analyze enzyme rate experiments by fitting the Michaelis Menton equation that is implemented from the {drc}
package via drc::MM.2()
.
head(Puromycin)
library(biochemr) df <- bio_enzyme_rate(Puromycin, conc, rate, state) df
The result is a tibble (like a data.frame) that has a row for each sample and a column the relevant data for each. The original data is in raw
, the dose, response and residuals are in data
, the fitted model is inside drmod
and the fitted curve (to draw the line) in line
and the coefficients (such as Vmax and Km) in coefs
.
To extract relevant coefficients, use bio_coefs()
.
df %>% bio_coefs()
Quick and convenient plotting for the results of different plotting functions.
plt <- df %>% bio_plot() plt
The bio_plot()
function just returns a ggplot
object, so you can continue customisation as you would otherwise.
plt + ggplot2::labs(x = "[substrate] nM", y = "Enzyme Rate (nM/M/min)")
The plan is to add support for as many types of analysis for experiments in biochemistry as possible. A list of planned and currently supported approaches are below. Please open an issue or make a pull request to add analysis you would like to see supported.
Experimental analysis to be supported by {biochemr}
:
Kd
.Vmax
and Km
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.