Learn R Programming

Bios2cor (version 1.2)

create_entropyfile: Stores entropy values

Description

Given an entropy object, stores each element (position or dihedral angle) and its entropy value in a csv file.

Usage

create_entropyfile(entropy, filepath)

Arguments

entropy

An object created by the entropy or the rotamer_entropyfunction which required an alignment file name

filepath

The full path name of the output file

Value

A csv file containing entropy scores

Details

The entropy function calculates entropy score for each position of an alignment file. The rotamer_entropyfunction calculate a "dynamic entropy" score for each side chain dihedral angle of a protein during a molecular simulations.

Examples

Run this code
# NOT RUN {
   align <- import.msf(system.file("msa/toy_align.msf", package = "Bios2cor"))

  #Creating ENTROPY object (as an example)
  entropy <- entropy(align)
  
  create_entropyfile(entropy, "results_entropy.txt")
# }

Run the code above in your browser using DataLab