This function converts the data from HaDeX in order to make it compatible with the input of test functions and perform the testing procedures of provided tests.
test_hadex_data(
dat,
states = unique(dat[["State"]])[1:2],
tests = list(test_houde)
)
data.table. The data of hdx_data class from the HaDeX package.
a character vector containing two states from provided `dat` that should be tested. By default the first two states (if exist) from `dat` are chosen.
a list of testing functions. In the `powerHaDeX` package the following tests are implemented:
- test_houde
,
This function returns a data table of variables:
- Test
- name of test,
- State_1
, State_2
- tested states from states
,
- Significant_difference
- TRUE
or FALSE
, indicating
whether the null hypothesis is rejected
- Sequence
- amino acid sequence that was tested