plot_MM: Michaelis-Menten enzyme kinetics model and plot

View source: R/biotech.R

plot_MMR Documentation

Michaelis-Menten enzyme kinetics model and plot

Description

plot_MM creates a Michaelis-Menten type Enzyme kinetics plot and returns model as well

Usage

plot_MM(
  data,
  substrate,
  velocity,
  group = NULL,
  title = "Michaelis-Menten",
  xlab = "substrate",
  ylab = "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 for x-axis

ylab

label for y-axis

Value

a list with elements "MMfit" and "MMplot"

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_MM(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_MM(data=MMdata,substrate = 'subst',
        velocity = 'velo',group='condition')


wrappedtools documentation built on Sept. 24, 2023, 5:06 p.m.