get_hours: Sorted unique list of hours since time zero

Description Usage Arguments Value See Also Examples

View source: R/HTDoseResponseCurve.R

Description

Convenience method to extract a sorted list of the hours

Usage

1

Arguments

D

A dataframe matching the format of one generated by combine_data_and_map

Value

A sorted vector of hours.

See Also

get_sample_types

combine_data_and_map

get_treatments

get_hours

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_hours( ds )

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