parse_data: Prepare data for fitting

Description Usage Arguments Author(s) Examples

Description

Parses data for the pre_data function. Validates if data is a summary data file & creates the tidy format. Tidy format is created by checking for a column name variable. Returns class of either type "list" "prepped_time" or "list" "prepped_data", depending if a timeID or timeAfterExposure column was found with multiple unique values.

Usage

1
2
parse_data(xcol = "dose_uM", groups = "treatment", minD = 7,
  dataset = summary_data)

Arguments

xcol

string, column name of independant variable (usually the concentration). Default: "dose_uM"

groups

string, column name of grouping variable which entries uniquely identify Default: "treatment" the replicate set of concentration response curves for a certain condition.

minD

integer, minimum number of unique concentrations per concentration response curve, curves with less are removed Default: 7

dataset

dataframe containing the x, y and groups columns. Default: summary_data

Author(s)

Steven Wink

Examples

1
2
prep_data(xcol = "dose_uM", groups = "treatment",
         minD = 7, dataset = test_data)

Hardervidertsie/modelpod documentation built on May 3, 2019, 8:34 p.m.