Description Usage Arguments Value
This function formats data for subsequent processing. It will accept all data files in a given directory, or any number of data files specified by their names, or any number of dataframes supplied as a named list, or even a single dataframe supplied as is.
1 | format_data(input, data_type, skip_lines = 0, metadata_json = NULL)
|
input |
A directory name, a vector of file names, a single dataset already loaded in memory as a dataframe, or a list of datasets already loaded in memory as dataframes. |
data_type |
A character string describing which type of data is supplied
for pre-processing. Currently supported options are |
skip_lines |
The number of lines to skip at the beginning of CSV files (usually containing header information before the actual data starts). |
metadata_json |
A JSON file describing mappings between internal names and metadata information in the actual data files. It can contain the following entries, independent of the type of data:
A metadata file for FRET datasets can also contain the following entries:
A metadata file for FP/FA datasets can also contain the following entries:
|
A single dataframe with the combined input data, containing 8
columns: Experiment
, Type
, Replicate
,
Observation
, fret_channel
, acceptor_channel
,
donor_channel
and concentration
. Rows with missing values
will be dropped.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.