fit_activity: Fit activity data

Description Usage Arguments Details Value Examples

Description

Fit activity data to a sigmoidal curve.

Usage

1
fit_activity(data, wells_output, normalise = FALSE)

Arguments

data

The TRA data (dataframe).

wells_output

File path for the per-well output figure (character).

normalise

Wether to normalise the data or not (boolean).

Details

This are functions for fitting a sigmoidal curve to each TRA well using the time-series data therein, yielding the activitity for a given endolysine and concentration.

Value

A dataframe containing the calculated activities.

Examples

1
2
3
4
5
6
7
8
9
# Get input file path
file_path <- system.file("extdata", "example_data_1.csv",
                         package = "ATRADA")

# Read example data
data <- read_tra_data(file_path)

# Get the activity for each well
activity <- fit_activity(data, "wells.png")

fasterius/ATRADA documentation built on May 31, 2019, 2:23 p.m.