Description Usage Arguments Details Value See Also Examples
The text file may be separated by commas, tabs, or any other commonly used delimiter. The first row must have the following elements:
sample_type
treatment
concentration
value
1 2 | read_dataset(filepath, negative_control = NA, plate_id = "plate_1",
sep = "\t")
|
filepath |
Path to the file to load. If the full path is not given, R will assume the file is in the current working directory. |
negative_control |
A designation for the negative controls in this dataset, if they exist. Value may be NA, a number, a string, or a data frame.
|
plate_id |
A string identifying this set of observations. Defaults to "plate_1". |
sep |
A character that separates elements in the text file. Fefaults to tab. |
The text file may optionally contain a column called "hour", indicating the time point of the measurement. If "hour" is present the value must be a number.
A data frame for the dataset matching the output of the
create_dataset
function.
1 2 3 | pkg = "HTDoseResponseCurve"
fn_txt = system.file("extdata", "sample_data_1.txt", package = pkg)
ds = read_dataset( fn_txt, negative_control="DMSO" )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.