get_sample_types: Sorted unique list of sample types

Description Usage Arguments Value See Also Examples

View source: R/HTDoseResponseCurve.R

Description

Convenience method to extract sample types from a data set.

Usage

1

Arguments

D

A data frame matching the form of the output of combine_data_and_map.

Value

sorted vector of sample types

See Also

get_treatments

get_concentrations

get_hours

combine_data_and_map

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
pm = create_empty_plate_map( 6 )
pm$sample_type[1,1:3] = "line1"
pm$sample_type[2,1:3] = "line2"
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_sample_types( ds )

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