plot_LB: Lineweaver-Burk diagram

View source: R/biotech.R

plot_LBR Documentation

Lineweaver-Burk diagram

Description

plot_LB plots a Lineweaver-Burk diagram and computes the linear model

Usage

plot_LB(
  data,
  substrate,
  velocity,
  group = NULL,
  title = "Lineweaver-Burk-Plot",
  xlab = "1/substrate",
  ylab = "1/velocity"
)

Arguments

data

data structure with columns for model data

substrate

colname for substrate concentration

velocity

colname for reaction velocity

group

colname for optional grouping factor

title

title of the plot

xlab

label of the abscissa

ylab

label of the ordinate

Examples

MMdata <- data.frame(subst = c(2.00, 1.00, 0.50, 0.25),
                 velo = c(0.2253, 0.1795, 0.1380, 0.1000))
                 
plot_LB(data=MMdata,
        substrate = 'subst',velocity = 'velo')

MMdata <- data.frame(subst = rep(c(2.00, 1.00, 0.50, 0.25),2),
                 velo = c(0.2253, 0.1795, 0.1380, 0.1000,
                          0.4731333, 0.4089333, 0.3473000, 0.2546667),
                 condition = rep(c('C1','C2'),each=4))
                 
plot_LB(data=MMdata,substrate = 'subst',
        velocity = 'velo',group='condition')


wrappedtools documentation built on Oct. 10, 2024, 5:07 p.m.