Learn R Programming

BALCONY (version 0.2.10)

prepare_structure_profile: This function combines the entropy data for structure building amino acids with their indices

Description

This function combines the entropy data for structure building amino acids with its indices. It prepares the data for convenient visualization or processing.

Usage

prepare_structure_profile(structure, structure_entropy)

Arguments

structure

A structure data, the output of create_structure_seq function

structure_entropy

The entropy values for the structure building residues, the output of get_structures_entropy function

Value

List of structures

Each element is a list of entropy values (matrix of entropy scores) and indices of residues building structure in protein of interest.

Examples

Run this code
# NOT RUN {
data("alignment")
data("structure")
uniprot="P34914"
indices=get_structures_idx(structure)
protein_index = indices$proteinIndices
structure_index = indices$structureIndices
# }
# NOT RUN {
entropy_scores_list=list(Schneider_entropy = schneider_conservativity(alignment),
                        Escore_entropy = Escore_conservativity(alignment))
structure_entropy=get_structures_entropy(structure_index, entropy_scores_list)
structure_profile = prepare_structure_profile(structure, structure_entropy)
# }

Run the code above in your browser using DataLab