get_treatments: Sorted unique list of treatments

Description Usage Arguments Value See Also Examples

View source: R/HTDoseResponseCurve.R

Description

Convenience method to extract treatments

Usage

1

Arguments

D

A a data frame matching the form of one generated by combine_data_and_map.

Value

A sorted vector of treatments.

See Also

get_sample_types

get_concentrations

get_hours

combine_data_and_map

Examples

1
2
3
4
5
6
7
8
9
ds = create_dataset( 
  sample_types= c("line1","line1","line1","line2","line2","line2"),
  treatments = c("DMSO","drug1","drug2","DMSO","drug1","drug2"),
  concentrations = c(0, 100, 200, 0, 100, 200),
  hours = c(48, 48, 48, 48, 48, 48),
  values = c(100, 90, 20, 100, 89, 87), 
  plate_id = "plate_1",
  negative_control = "DMSO")
get_treatments( ds )

DavidQuigley/HTDoseResponseCurve documentation built on Jan. 23, 2021, 5:10 a.m.