Description Usage Arguments Value Author(s) See Also Examples
This function facilitates the comparison of conservativity of structure of interest with the rest of the protein. For example comparison of tunnel conservativity with overall protein conservativity.
1 2 | kolmogorov_smirnov_test(protein_entropy, structure_entropy, alternative,
pdb_name = "Reference", range = NULL, make_plot = NULL)
|
protein_entropy |
A list of calculated entropy scores (vectors of numeric values). The output of |
structure_entropy |
A list where each element is a list of structure indices in the protein and matrix with corresponding entropy values (each row is a separate score metric) |
alternative |
A numeric value indicating the character of alternative hypothesis of the test to be performed: 1 - two sided test, 2 - less, 3 - greater, following the generic |
pdb_name |
(optional) A string with name of the reference protein, default: "Reference" |
range |
(optional) A numeric vector with region of reference protein to be excluded from the data set. Useful when protein consists of additional chains with outstandingly low/high entropy values which may distort result of the test, default: NULL |
make_plot |
(optional) A logical indicating if cumulative distribution functions should be displayed, default: TRUE |
A matrix of p-values for each entropy metric (rows) and structure (columns)
Michal Stolarczyk & Alicja Pluciennik
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | data("alignment")
data("structure")
entropy_data=list(Schneider.entropy=schneider_conservativity(alignment),
Escore.entropy = Escore_conservativity(alignment),
Kabat.entropy = kabat_conservativity(alignment))
indices=get_structures_idx(structure)
protein_index = indices$proteinIndices
structure_index = indices$structureIndices
prot_cons=get_prot_entropy(protein_index,entropy_data)
stru_entropy=get_structures_entropy(structure_index,entropy_data)
profiles_for_structure=prepare_structure_profile(structure, stru_entropy)
EQUAL=kolmogorov_smirnov_test(protein_entropy = prot_cons,
structure_entropy = profiles_for_structure,
alternative = 1,range = c(1:233),make_plot = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.