View source: R/test_hadex_data.R
test_hadex_data | R Documentation |
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) )
dat |
data.table. The data of hdx_data class from the HaDeX package. |
states |
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. |
tests |
a list of testing functions. In the 'powerHaDeX' package the following tests are implemented: - - - - |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.