Description Usage Arguments Details Value See Also Examples
View source: R/add_stat_dependency.R
Returns relation with confidence limits for each peptide.
1 2 3 4 5 6 | add_stat_dependency(
calc_dat,
confidence_limit = 0.98,
theoretical = FALSE,
relative = TRUE
)
|
calc_dat |
processed data from DynamX file - using |
confidence_limit |
confidence limit chosen by user - from range [0, 1]. |
theoretical |
logical value to determine if the plot is theoretical or not. |
relative |
logical value to determine if values are relative or absolute. |
...
calc_dat extended by column specifying if given peptide is relevant in given confidence limit. The value of the confidence limit is added as an attribute - as well as parameters used to calculate (theoretical/relative)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #load example data
dat <- read_hdx(system.file(package = "HaDeX",
"HaDeX/data/KD_180110_CD160_HVEM.csv"))
# prepate dataset for states `CD160` and `CD160_HVEM` in given time parameters
calc_dat <- 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 calculated confidence limits for prepared data
add_stat_dependency(calc_dat,
confidence_limit = 0.98,
theoretical = FALSE,
relative = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.