Description Usage Arguments Details Value See Also Examples
View source: R/prepare_dataset.R
Calculates values for visualization from input data file - both experimental and theoretical. All parameters are needed.
1 2 3 4 5 6 7 8 9 | prepare_dataset(
dat,
in_state_first,
chosen_state_first,
out_state_first,
in_state_second,
chosen_state_second,
out_state_second
)
|
dat |
data frame with data from DynamX file |
in_state_first |
string in form "state_time" for first state in in time |
chosen_state_first |
string in form "state_time" for chosen state in in time |
out_state_first |
string in form "state_time" for first state in out time |
in_state_second |
string in form "state_time" for second state in in time |
chosen_state_second |
string in form "state_time" for second state in chosen time |
out_state_second |
string in form "state_time" for second state in out time |
...
This is the first version - multi-state calculations are not supported.
data frame with calculated values
1 2 3 4 5 6 7 8 9 10 11 | # load example data
dat <- read_hdx(system.file(package = "HaDeX", "HaDeX/data/KD_180110_CD160_HVEM.csv"))
# prepare dataset for states `CD160` and `CD160_HVEM` in given time parameters
prepare_dataset(dat,
in_state_first = "CD160_0.001",
chosen_state_first = "CD160_1",
out_state_first = "CD160_1440",
in_state_second = "CD160_HVEM_0.001",
chosen_state_second = "CD160_HVEM_1",
out_state_second = "CD160_HVEM_1440")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.