fit_one_experiment: fit model on one experiment and allows to plot a jpeg figure...

Description Usage Arguments Value

View source: R/moonshot.R

Description

this use fitOneExp() from drexplorer to analyze a lung moonshot experiement unit so that plate ID are tracked

Usage

1
2
3
4
5
6
fit_one_experiment(x, models = drModels(return = TRUE, verbose =
  FALSE)[["recommendedModels"]], dirFigure = NA, CL = "CellLine",
  Agent = "Agent1", Dose = "AgentConc1", Response = "CellCount",
  ControlName = "Control1", PlateID = "PlateID", PlateName = "PlateName",
  debug = FALSE, unit = NA, interpolation = FALSE, con = stdout(),
  info = "")

Arguments

x

a data frame for data from one experiment

models

models to be fitted; default is drexplroer recModels

dirFigure

folder path to store the figures. If set to NA, no figures will be output. With the returned list, it is easy to generate the figures though. the figures here are one drug/one cell line per file.

CL

colname for cell line

Agent

colname for drug name

Dose

colname for dose

Response

colname for response

ControlName

name for the control data so that it will not be treated as a drug.

PlateID

colname for PlateID

PlateName

colname for PlateName, usually the run date

unit

unit of drug concentration

interpolation

interpolation passed to fitOneExp

con

connection to store log information; default is the console terminal; User can pass a file connection so that log will be saved in a file

info

information passed from analyze_plate_list() about the plate

Value

a list of the fits for different models


nickytong/drexplorerExtra documentation built on May 20, 2019, 9:15 p.m.